3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/kpmcore/default.nix
Doron Behar d44460b52e kpmcore: Use kio directly - from the scope of libsForQt5 used
Make sure only compatible qt versions are used for it (#101369) -
kdeFrameworks is always using `libsForQt5` where e.g
`libsForQt514.kpmcore` would have otherwise used a kio compiled with
qt515.
2020-10-30 20:13:49 +02:00

35 lines
792 B
Nix

{ stdenv, lib, fetchurl, extra-cmake-modules
, qtbase, kio
, libatasmart, parted
, utillinux }:
stdenv.mkDerivation rec {
pname = "kpmcore";
version = "3.3.0";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz";
sha256 = "0s6v0jfrhjg31ri5p6h9n4w29jvasf5dj954j3vfpzl91lygmmmq";
};
buildInputs = [
qtbase
libatasmart
parted # we only need the library
kio
utillinux # needs blkid (note that this is not provided by utillinux-compat)
];
nativeBuildInputs = [ extra-cmake-modules ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
maintainers = with lib.maintainers; [ peterhoeg ];
# The build requires at least Qt 5.14:
broken = lib.versionOlder qtbase.version "5.14";
};
}