summary refs log tree commit diff
path: root/pkgs/tools/misc/partition-manager/default.nix
blob: 52183a3fff3537ad75dd666bbb93c7baa07317f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ mkDerivation, fetchurl, lib
, extra-cmake-modules, kdoctools, wrapGAppsHook
, kconfig, kinit, kpmcore
, eject, libatasmart }:

let
  pname = "partitionmanager";
in mkDerivation rec {
  name = "${pname}-${version}";
  version = "3.0.1";

  src = fetchurl {
    url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
    sha256 = "08sb9xa7dvvgha3k2xm1srl339przxpxd2y5bh1lnx6k1x7dk410";
  };

  meta = with lib; {
    description = "KDE Partition Manager";
    license = licenses.gpl2;
    maintainers = with maintainers; [ peterhoeg ];
  };
  nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
  # refer to kpmcore for the use of eject
  buildInputs = [ eject libatasmart ];
  propagatedBuildInputs = [ kconfig kinit kpmcore ];
}