nixpkgs/pkgs/development/libraries/kpmcore/default.nix
Matthew Justin Bauer 1d55c211cb
kpmcore: fix build
Fixes #39834

Fallout from moving "eject" command to unixtools.
2018-05-09 03:57:38 -05:00

34 lines
756 B
Nix

{ stdenv, lib, fetchurl, extra-cmake-modules, pkgconfig
, qtbase, kdeFrameworks
, libatasmart, parted
, utillinux }:
let
pname = "kpmcore";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "3.3.0";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "0s6v0jfrhjg31ri5p6h9n4w29jvasf5dj954j3vfpzl91lygmmmq";
};
buildInputs = [
qtbase
libatasmart
parted # we only need the library
kdeFrameworks.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 ];
};
}