2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, lib, fetchurl, extra-cmake-modules
|
2016-12-30 03:54:25 +00:00
|
|
|
, qtbase, kdeFrameworks
|
2018-05-09 08:57:38 +00:00
|
|
|
, libatasmart, parted
|
|
|
|
, utillinux }:
|
2016-12-30 03:54:25 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "kpmcore";
|
|
|
|
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2018-03-20 15:32:56 +00:00
|
|
|
version = "3.3.0";
|
2016-12-30 03:54:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
|
2018-03-20 15:32:56 +00:00
|
|
|
sha256 = "0s6v0jfrhjg31ri5p6h9n4w29jvasf5dj954j3vfpzl91lygmmmq";
|
2016-12-30 03:54:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
libatasmart
|
|
|
|
parted # we only need the library
|
|
|
|
|
|
|
|
kdeFrameworks.kio
|
2018-05-09 08:57:38 +00:00
|
|
|
|
|
|
|
utillinux # needs blkid (note that this is not provided by utillinux-compat)
|
2016-12-30 03:54:25 +00:00
|
|
|
];
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
maintainers = with lib.maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|