2016-06-17 16:47:16 +02:00
|
|
|
/*
|
|
|
|
|
|
|
|
# Updates
|
|
|
|
|
2016-07-13 20:52:25 +02:00
|
|
|
1. Update the URL in `maintainers/scripts/generate-kde-frameworks.sh` and
|
|
|
|
run that script from the top of the Nixpkgs tree.
|
|
|
|
2. Check that the new packages build correctly.
|
|
|
|
3. Commit the changes and open a pull request.
|
2016-06-17 16:47:16 +02:00
|
|
|
|
|
|
|
*/
|
2016-04-21 17:32:21 +02:00
|
|
|
|
|
|
|
{ pkgs, debug ? false }:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
2016-06-17 16:47:16 +02:00
|
|
|
inherit (pkgs) lib makeSetupHook stdenv;
|
2016-04-21 17:32:21 +02:00
|
|
|
|
|
|
|
mirror = "mirror://kde";
|
2016-06-17 16:47:16 +02:00
|
|
|
srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; };
|
2016-04-21 17:32:21 +02:00
|
|
|
|
|
|
|
packages = self: with self; {
|
2016-07-29 16:33:58 +02:00
|
|
|
|
|
|
|
kdeDerivation = args:
|
2016-04-21 17:32:21 +02:00
|
|
|
let
|
|
|
|
in stdenv.mkDerivation (args // {
|
|
|
|
|
2016-08-26 21:52:15 +02:00
|
|
|
outputs = args.outputs or [ "out" "dev" ];
|
2016-07-30 23:16:36 +02:00
|
|
|
|
|
|
|
propagatedUserEnvPkgs =
|
|
|
|
builtins.map lib.getBin (args.propagatedBuildInputs or []);
|
2016-04-21 17:32:21 +02:00
|
|
|
|
|
|
|
cmakeFlags =
|
|
|
|
(args.cmakeFlags or [])
|
|
|
|
++ [ "-DBUILD_TESTING=OFF" ]
|
|
|
|
++ lib.optional debug "-DCMAKE_BUILD_TYPE=Debug";
|
|
|
|
|
2016-07-29 16:33:58 +02:00
|
|
|
});
|
|
|
|
|
2016-10-23 15:46:30 +02:00
|
|
|
kdeFramework = let
|
|
|
|
broken = builtins.compareVersions self.qtbase.version "5.6.0" < 0;
|
|
|
|
in args:
|
2016-07-29 16:33:58 +02:00
|
|
|
let
|
|
|
|
inherit (args) name;
|
|
|
|
inherit (srcs."${name}") src version;
|
|
|
|
in kdeDerivation (args // {
|
|
|
|
name = "${name}-${version}";
|
|
|
|
inherit src;
|
|
|
|
|
2016-04-21 17:32:21 +02:00
|
|
|
meta = {
|
|
|
|
license = with lib.licenses; [
|
|
|
|
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
|
|
|
|
];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
homepage = "http://www.kde.org";
|
2016-10-23 15:46:30 +02:00
|
|
|
inherit broken;
|
2016-04-21 17:32:21 +02:00
|
|
|
} // (args.meta or {});
|
|
|
|
});
|
|
|
|
|
2016-07-30 23:16:36 +02:00
|
|
|
kdeWrapper = import ./kde-wrapper.nix {
|
|
|
|
inherit (pkgs) stdenv lib makeWrapper;
|
|
|
|
};
|
|
|
|
|
2016-04-21 17:32:21 +02:00
|
|
|
attica = callPackage ./attica.nix {};
|
|
|
|
baloo = callPackage ./baloo.nix {};
|
|
|
|
bluez-qt = callPackage ./bluez-qt.nix {};
|
|
|
|
breeze-icons = callPackage ./breeze-icons.nix {};
|
2016-11-21 21:54:15 +01:00
|
|
|
# FIXME: this collides with the "ecm" package.
|
2016-07-30 04:13:00 +02:00
|
|
|
ecm =
|
2016-07-30 20:47:17 +02:00
|
|
|
let drv = { cmake, ecmNoHooks, pkgconfig, qtbase, qttools }:
|
2016-07-30 04:13:00 +02:00
|
|
|
makeSetupHook
|
2016-08-29 12:56:06 +02:00
|
|
|
{ deps = lib.chooseDevOutputs [ cmake ecmNoHooks pkgconfig qtbase qttools ]; }
|
2016-07-30 04:13:00 +02:00
|
|
|
./setup-hook.sh;
|
|
|
|
in callPackage drv {};
|
2016-07-30 20:47:17 +02:00
|
|
|
ecmNoHooks = callPackage ./extra-cmake-modules {
|
2016-07-29 16:33:58 +02:00
|
|
|
inherit (srcs.extra-cmake-modules) src version;
|
|
|
|
};
|
2016-04-21 17:32:21 +02:00
|
|
|
frameworkintegration = callPackage ./frameworkintegration.nix {};
|
|
|
|
kactivities = callPackage ./kactivities.nix {};
|
|
|
|
kactivities-stats = callPackage ./kactivities-stats.nix {};
|
|
|
|
kapidox = callPackage ./kapidox.nix {};
|
|
|
|
karchive = callPackage ./karchive.nix {};
|
|
|
|
kauth = callPackage ./kauth {};
|
|
|
|
kbookmarks = callPackage ./kbookmarks.nix {};
|
|
|
|
kcmutils = callPackage ./kcmutils {};
|
|
|
|
kcodecs = callPackage ./kcodecs.nix {};
|
|
|
|
kcompletion = callPackage ./kcompletion.nix {};
|
|
|
|
kconfig = callPackage ./kconfig.nix {};
|
|
|
|
kconfigwidgets = callPackage ./kconfigwidgets {};
|
|
|
|
kcoreaddons = callPackage ./kcoreaddons.nix {};
|
|
|
|
kcrash = callPackage ./kcrash.nix {};
|
|
|
|
kdbusaddons = callPackage ./kdbusaddons.nix {};
|
|
|
|
kdeclarative = callPackage ./kdeclarative.nix {};
|
|
|
|
kded = callPackage ./kded.nix {};
|
|
|
|
kdelibs4support = callPackage ./kdelibs4support {};
|
|
|
|
kdesignerplugin = callPackage ./kdesignerplugin.nix {};
|
|
|
|
kdesu = callPackage ./kdesu.nix {};
|
|
|
|
kdnssd = callPackage ./kdnssd.nix {};
|
|
|
|
kdoctools = callPackage ./kdoctools {};
|
|
|
|
kemoticons = callPackage ./kemoticons.nix {};
|
|
|
|
kfilemetadata = callPackage ./kfilemetadata {};
|
|
|
|
kglobalaccel = callPackage ./kglobalaccel.nix {};
|
|
|
|
kguiaddons = callPackage ./kguiaddons.nix {};
|
|
|
|
khtml = callPackage ./khtml.nix {};
|
|
|
|
ki18n = callPackage ./ki18n.nix {};
|
|
|
|
kiconthemes = callPackage ./kiconthemes {};
|
|
|
|
kidletime = callPackage ./kidletime.nix {};
|
|
|
|
kimageformats = callPackage ./kimageformats.nix {};
|
|
|
|
kinit = callPackage ./kinit {};
|
|
|
|
kio = callPackage ./kio {};
|
|
|
|
kitemmodels = callPackage ./kitemmodels.nix {};
|
|
|
|
kitemviews = callPackage ./kitemviews.nix {};
|
|
|
|
kjobwidgets = callPackage ./kjobwidgets.nix {};
|
|
|
|
kjs = callPackage ./kjs.nix {};
|
|
|
|
kjsembed = callPackage ./kjsembed.nix {};
|
|
|
|
kmediaplayer = callPackage ./kmediaplayer.nix {};
|
|
|
|
knewstuff = callPackage ./knewstuff.nix {};
|
|
|
|
knotifications = callPackage ./knotifications.nix {};
|
|
|
|
knotifyconfig = callPackage ./knotifyconfig.nix {};
|
|
|
|
kpackage = callPackage ./kpackage {};
|
|
|
|
kparts = callPackage ./kparts.nix {};
|
|
|
|
kpeople = callPackage ./kpeople.nix {};
|
|
|
|
kplotting = callPackage ./kplotting.nix {};
|
|
|
|
kpty = callPackage ./kpty.nix {};
|
|
|
|
kross = callPackage ./kross.nix {};
|
|
|
|
krunner = callPackage ./krunner.nix {};
|
|
|
|
kservice = callPackage ./kservice {};
|
2016-07-30 20:47:17 +02:00
|
|
|
ktexteditor = callPackage ./ktexteditor.nix {};
|
2016-04-21 17:32:21 +02:00
|
|
|
ktextwidgets = callPackage ./ktextwidgets.nix {};
|
|
|
|
kunitconversion = callPackage ./kunitconversion.nix {};
|
|
|
|
kwallet = callPackage ./kwallet.nix {};
|
2016-07-10 11:36:14 +02:00
|
|
|
kwayland = callPackage ./kwayland.nix {};
|
2016-04-21 17:32:21 +02:00
|
|
|
kwidgetsaddons = callPackage ./kwidgetsaddons.nix {};
|
|
|
|
kwindowsystem = callPackage ./kwindowsystem.nix {};
|
|
|
|
kxmlgui = callPackage ./kxmlgui.nix {};
|
|
|
|
kxmlrpcclient = callPackage ./kxmlrpcclient.nix {};
|
|
|
|
modemmanager-qt = callPackage ./modemmanager-qt.nix {};
|
|
|
|
networkmanager-qt = callPackage ./networkmanager-qt.nix {};
|
|
|
|
oxygen-icons5 = callPackage ./oxygen-icons5.nix {};
|
2016-04-28 17:45:00 +02:00
|
|
|
plasma-framework = callPackage ./plasma-framework.nix {};
|
2016-04-21 17:32:21 +02:00
|
|
|
solid = callPackage ./solid.nix {};
|
|
|
|
sonnet = callPackage ./sonnet.nix {};
|
2016-12-14 00:53:43 +01:00
|
|
|
syntax-highlighting = callPackage ./syntax-highlighting.nix {};
|
2016-04-21 17:32:21 +02:00
|
|
|
threadweaver = callPackage ./threadweaver.nix {};
|
|
|
|
};
|
|
|
|
|
|
|
|
in packages
|