nixpkgs/pkgs/development/libraries/kpmcore/default.nix
Peter Hoeg 48192c65c3 partition-manager: init at 3.0.1
Includes kpmcore 3.0.3
2017-05-11 19:07:44 +08:00

32 lines
705 B
Nix

{ stdenv, lib, fetchurl, extra-cmake-modules, pkgconfig
, qtbase, kdeFrameworks
, eject, libatasmart, parted }:
let
pname = "kpmcore";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "3.0.3";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "17lqrp39w31fm7haigwq23cp92zwk3czjzqa2fhn3wafx3vafwd2";
};
buildInputs = [
qtbase
eject # this is to get libblkid
libatasmart
parted # we only need the library
kdeFrameworks.kio
];
nativeBuildInputs = [ extra-cmake-modules ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
maintainers = with lib.maintainers; [ peterhoeg ];
};
}