mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
33 lines
761 B
Nix
33 lines
761 B
Nix
{ stdenv, lib, fetchurl, extra-cmake-modules
|
|
, qtbase, kio
|
|
, libatasmart, parted
|
|
, util-linux }:
|
|
|
|
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
|
|
|
|
util-linux # needs blkid (note that this is not provided by util-linux-compat)
|
|
];
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
meta = with stdenv.lib; {
|
|
maintainers = with lib.maintainers; [ peterhoeg ];
|
|
# The build requires at least Qt 5.14:
|
|
broken = lib.versionOlder qtbase.version "5.14";
|
|
};
|
|
}
|