depot/third_party/nixpkgs/pkgs/applications/file-managers/krusader/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

53 lines
949 B
Nix

{ mkDerivation
, lib
, fetchurl
, extra-cmake-modules
, kdoctools
, wrapGAppsHook3
, karchive
, kconfig
, kcrash
, kguiaddons
, kinit
, kparts
, kwindowsystem
}:
mkDerivation rec {
pname = "krusader";
version = "2.8.1";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
hash = "sha256-N78gRRnQqxukCWSvAnQbwijxHpfyjExRjKBdNY3xgoM=";
};
patches = [
# Fix compilation error due to forceful header include
./compat-fix.patch
];
nativeBuildInputs = [
extra-cmake-modules
kdoctools
wrapGAppsHook3
];
propagatedBuildInputs = [
karchive
kconfig
kcrash
kguiaddons
kinit
kparts
kwindowsystem
];
meta = with lib; {
homepage = "http://www.krusader.org";
description = "Norton/Total Commander clone for KDE";
license = licenses.gpl2Only;
maintainers = with maintainers; [ sander ];
mainProgram = "krusader";
};
}