kmix: init at 16.12.1

Signed-off-by: Rongcui Dong <rongcuid@outlook.com>
This commit is contained in:
Rongcui Dong 2017-01-31 10:12:15 -08:00
parent f66d7823ec
commit c1250e96f3
3 changed files with 32 additions and 0 deletions

View File

@ -414,6 +414,7 @@
roblabla = "Robin Lambertz <robinlambertz+dev@gmail.com>";
roconnor = "Russell O'Connor <roconnor@theorem.ca>";
romildo = "José Romildo Malaquias <malaquias@gmail.com>";
rongcuid = "Rongcui Dong <rongcuid@outlook.com>";
ronny = "Ronny Pfannschmidt <nixos@ronnypfannschmidt.de>";
rszibele = "Richard Szibele <richard_szibele@hotmail.com>";
rushmorem = "Rushmore Mushambi <rushmore@webenchanter.com>";

View File

@ -56,6 +56,7 @@ let
khelpcenter = callPackage ./khelpcenter.nix {};
kio-extras = callPackage ./kio-extras.nix {};
kmime = callPackage ./kmime.nix {};
kmix = callPackage ./kmix.nix {};
kompare = callPackage ./kompare.nix {};
konsole = callPackage ./konsole.nix {};
kwalletmanager = callPackage ./kwalletmanager.nix {};

View File

@ -0,0 +1,30 @@
{
kdeApp, lib, kdeWrapper,
ecm, kdoctools,
kglobalaccel, kxmlgui, kcoreaddons, kdelibs4support,
plasma-framework, libpulseaudio, alsaLib, libcanberra_kde
}:
let
unwrapped =
kdeApp {
name = "kmix";
meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
maintainers = [ lib.maintainers.rongcuid ];
};
nativeBuildInputs = [ ecm kdoctools ];
buildInputs = [ libpulseaudio alsaLib libcanberra_kde ];
propagatedBuildInputs = [
kglobalaccel kxmlgui kcoreaddons kdelibs4support
plasma-framework
];
cmakeFlags = [
"-DKMIX_KF5_BUILD=1"
];
};
in
kdeWrapper {
inherit unwrapped;
targets = [ "bin/kmix" ];
}