mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
Clean up KDE Frameworks
This commit is contained in:
parent
c650dc8bd7
commit
a33ab04d1b
@ -78,16 +78,8 @@ let
|
|||||||
baloo = callPackage ./baloo.nix {};
|
baloo = callPackage ./baloo.nix {};
|
||||||
bluez-qt = callPackage ./bluez-qt.nix {};
|
bluez-qt = callPackage ./bluez-qt.nix {};
|
||||||
breeze-icons = callPackage ./breeze-icons.nix {};
|
breeze-icons = callPackage ./breeze-icons.nix {};
|
||||||
# FIXME: this collides with the "ecm" package.
|
ecm = callPackage ./extra-cmake-modules {};
|
||||||
ecm =
|
ecmNoHooks = callPackage ./extra-cmake-modules/no-hooks.nix {};
|
||||||
let drv = { cmake, ecmNoHooks, pkgconfig, qtbase, qttools }:
|
|
||||||
makeSetupHook
|
|
||||||
{ deps = lib.chooseDevOutputs [ cmake ecmNoHooks pkgconfig qtbase qttools ]; }
|
|
||||||
./setup-hook.sh;
|
|
||||||
in callPackage drv {};
|
|
||||||
ecmNoHooks = callPackage ./extra-cmake-modules {
|
|
||||||
inherit (srcs.extra-cmake-modules) src version;
|
|
||||||
};
|
|
||||||
frameworkintegration = callPackage ./frameworkintegration.nix {};
|
frameworkintegration = callPackage ./frameworkintegration.nix {};
|
||||||
kactivities = callPackage ./kactivities.nix {};
|
kactivities = callPackage ./kactivities.nix {};
|
||||||
kactivities-stats = callPackage ./kactivities-stats.nix {};
|
kactivities-stats = callPackage ./kactivities-stats.nix {};
|
||||||
|
@ -1,20 +1,6 @@
|
|||||||
{ stdenv, lib, copyPathsToStore, src, version, cmake }:
|
{ makeSetupHook, lib, cmake, ecmNoHooks, pkgconfig, qtbase, qttools }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
makeSetupHook {
|
||||||
name = "extra-cmake-modules-${version}";
|
deps = lib.chooseDevOutputs [ cmake ecmNoHooks pkgconfig qtbase qttools ];
|
||||||
|
|
||||||
inherit src;
|
|
||||||
|
|
||||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
||||||
|
|
||||||
outputs = [ "out" ]; # this package has no runtime components
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
platforms = lib.platforms.linux;
|
|
||||||
homepage = "http://www.kde.org";
|
|
||||||
license = licenses.bsd2;
|
|
||||||
maintainers = [ maintainers.ttuegel ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
./setup-hook.sh
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
{ kdeFramework, lib, copyPathsToStore, cmake }:
|
||||||
|
|
||||||
|
kdeFramework {
|
||||||
|
name = "extra-cmake-modules";
|
||||||
|
|
||||||
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||||
|
|
||||||
|
outputs = [ "out" ]; # this package has no runtime components
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
homepage = "http://www.kde.org";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = [ maintainers.ttuegel ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user