2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, lib, fetchurl, extra-cmake-modules
|
2020-10-23 06:09:44 +00:00
|
|
|
, qtbase, kio
|
2018-05-09 08:57:38 +00:00
|
|
|
, libatasmart, parted
|
2020-11-24 15:29:28 +00:00
|
|
|
, util-linux }:
|
2016-12-30 03:54:25 +00:00
|
|
|
|
2020-08-24 11:46:14 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-12-30 03:54:25 +00:00
|
|
|
pname = "kpmcore";
|
2018-03-20 15:32:56 +00:00
|
|
|
version = "3.3.0";
|
2016-12-30 03:54:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-08-24 22:36:49 +00:00
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.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
|
|
|
|
|
2020-10-23 06:09:44 +00:00
|
|
|
kio
|
2018-05-09 08:57:38 +00:00
|
|
|
|
2020-11-24 15:29:28 +00:00
|
|
|
util-linux # needs blkid (note that this is not provided by util-linux-compat)
|
2016-12-30 03:54:25 +00:00
|
|
|
];
|
2020-08-24 11:46:14 +00:00
|
|
|
|
2016-12-30 03:54:25 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2020-08-24 11:46:14 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-07-30 17:40:18 +00:00
|
|
|
maintainers = with lib.maintainers; [ peterhoeg ];
|
2020-08-24 11:46:14 +00:00
|
|
|
# The build requires at least Qt 5.14:
|
|
|
|
broken = lib.versionOlder qtbase.version "5.14";
|
2016-12-30 03:54:25 +00:00
|
|
|
};
|
|
|
|
}
|