nixpkgs/pkgs/development/libraries/kpmcore/default.nix

33 lines
754 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, extra-cmake-modules
, qtbase, kio
, libatasmart, parted
2020-11-24 15:29:28 +00:00
, util-linux }:
2020-08-24 12:46:14 +01:00
stdenv.mkDerivation rec {
pname = "kpmcore";
version = "3.3.0";
src = fetchurl {
2020-08-24 23:36:49 +01:00
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz";
sha256 = "0s6v0jfrhjg31ri5p6h9n4w29jvasf5dj954j3vfpzl91lygmmmq";
};
buildInputs = [
qtbase
libatasmart
parted # we only need the library
kio
2020-11-24 15:29:28 +00:00
util-linux # needs blkid (note that this is not provided by util-linux-compat)
];
2020-08-24 12:46:14 +01:00
nativeBuildInputs = [ extra-cmake-modules ];
2020-08-24 12:46:14 +01:00
meta = with lib; {
maintainers = with lib.maintainers; [ peterhoeg ];
2020-08-24 12:46:14 +01:00
# The build requires at least Qt 5.14:
broken = lib.versionOlder qtbase.version "5.14";
};
}