2017-05-16 15:56:41 +00:00
|
|
|
{ mkDerivation, fetchurl, lib
|
2019-07-05 15:42:08 +00:00
|
|
|
, extra-cmake-modules, kdoctools, wrapGAppsHook, wrapQtAppsHook
|
2017-07-09 02:44:10 +00:00
|
|
|
, kconfig, kcrash, kinit, kpmcore
|
2020-11-24 15:29:28 +00:00
|
|
|
, eject, libatasmart , util-linux, qtbase
|
2018-05-22 10:10:51 +00:00
|
|
|
}:
|
2016-12-30 03:54:25 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "partitionmanager";
|
2017-05-16 15:56:41 +00:00
|
|
|
in mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2018-05-22 10:10:51 +00:00
|
|
|
version = "3.3.1";
|
2016-12-30 03:54:25 +00:00
|
|
|
|
2017-05-16 15:56:41 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
|
2018-05-22 10:10:51 +00:00
|
|
|
sha256 = "0jhggb4xksb0k0mj752n6pz0xmccnbzlp984xydqbz3hkigra1si";
|
2016-12-30 03:54:25 +00:00
|
|
|
};
|
|
|
|
|
2018-05-22 10:10:51 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-07-05 15:42:08 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook wrapQtAppsHook ];
|
2018-05-22 10:10:51 +00:00
|
|
|
|
|
|
|
# refer to kpmcore for the use of eject
|
2020-11-24 15:29:28 +00:00
|
|
|
buildInputs = [ eject libatasmart util-linux ];
|
2018-05-22 10:10:51 +00:00
|
|
|
propagatedBuildInputs = [ kconfig kcrash kinit kpmcore ];
|
|
|
|
|
2017-05-16 15:56:41 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "KDE Partition Manager";
|
|
|
|
license = licenses.gpl2;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.kde.org/applications/system/kdepartitionmanager/";
|
2019-12-26 14:13:48 +00:00
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2017-05-16 15:56:41 +00:00
|
|
|
};
|
2016-12-30 03:54:25 +00:00
|
|
|
}
|