2022-07-14 12:49:19 +00:00
|
|
|
{ mkDerivation
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, extra-cmake-modules
|
|
|
|
, kdoctools
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3
|
2022-07-14 12:49:19 +00:00
|
|
|
, karchive
|
|
|
|
, kconfig
|
|
|
|
, kcrash
|
|
|
|
, kguiaddons
|
|
|
|
, kinit
|
|
|
|
, kparts
|
|
|
|
, kwindowsystem
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "krusader";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2.8.1";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-N78gRRnQqxukCWSvAnQbwijxHpfyjExRjKBdNY3xgoM=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
patches = [
|
|
|
|
# Fix compilation error due to forceful header include
|
|
|
|
./compat-fix.patch
|
|
|
|
];
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
extra-cmake-modules
|
|
|
|
kdoctools
|
2024-05-15 15:35:15 +00:00
|
|
|
wrapGAppsHook3
|
2022-07-14 12:49:19 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
2023-08-22 20:05:09 +00:00
|
|
|
maintainers = with maintainers; [ sander ];
|
2023-08-04 22:07:22 +00:00
|
|
|
mainProgram = "krusader";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
}
|