nixpkgs/pkgs/tools/misc/partition-manager/default.nix

31 lines
920 B
Nix
Raw Normal View History

2017-05-16 16:56:41 +01:00
{ mkDerivation, fetchurl, lib
, extra-cmake-modules, kdoctools, wrapGAppsHook, wrapQtAppsHook
, kconfig, kcrash, kinit, kpmcore
2020-11-24 15:29:28 +00:00
, eject, libatasmart , util-linux, qtbase
}:
let
pname = "partitionmanager";
2017-05-16 16:56:41 +01:00
in mkDerivation rec {
name = "${pname}-${version}";
version = "3.3.1";
2017-05-16 16:56:41 +01:00
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "0jhggb4xksb0k0mj752n6pz0xmccnbzlp984xydqbz3hkigra1si";
};
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook wrapQtAppsHook ];
# refer to kpmcore for the use of eject
2020-11-24 15:29:28 +00:00
buildInputs = [ eject libatasmart util-linux ];
propagatedBuildInputs = [ kconfig kcrash kinit kpmcore ];
2017-05-16 16:56:41 +01:00
meta = with lib; {
description = "KDE Partition Manager";
license = licenses.gpl2;
homepage = "https://www.kde.org/applications/system/kdepartitionmanager/";
maintainers = with maintainers; [ peterhoeg ];
2017-05-16 16:56:41 +01:00
};
}