nixpkgs/pkgs/applications/misc/krusader/default.nix
2017-05-11 18:13:39 +08:00

34 lines
834 B
Nix

{
kdeDerivation, kdeWrapper, fetchurl, lib,
extra-cmake-modules, kdoctools,
kconfig, kinit, kparts
}:
let
pname = "krusader";
version = "2.6.0";
unwrapped = kdeDerivation rec {
name = "krusader-${version}";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/${name}.tar.xz";
sha256 = "0f9skfvp0hdml8qq6v22z9293ndijd8kwbpdj7wpvgd6mlya8qbh";
};
meta = with lib; {
description = "Norton/Total Commander clone for KDE";
license = licenses.gpl2;
homepage = http://www.krusader.org;
maintainers = with maintainers; [ sander ];
};
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
propagatedBuildInputs = [ kconfig kinit kparts ];
enableParallelBuilding = true;
};
in kdeWrapper {
inherit unwrapped;
targets = [ "bin/krusader" ];
}