3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/umockdev/default.nix

27 lines
742 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, automake, autoconf, libtool, gtk-doc
2018-02-17 02:55:17 +00:00
, pkgconfig, glib, systemd, libgudev, vala }:
stdenv.mkDerivation rec {
2018-02-17 02:55:17 +00:00
name = "umockdev-${version}";
version = "0.11.3";
src = fetchFromGitHub {
owner = "martinpitt";
repo = "umockdev";
rev = version;
sha256 ="1z101yw7clxz39im3y435s3rj1gna3kp0fkj9wd62vxqvk68lhik";
};
2018-02-17 02:55:17 +00:00
buildInputs = [ glib systemd libgudev ];
nativeBuildInputs = [ automake autoconf libtool gtk-doc pkgconfig vala ];
2018-02-17 02:55:17 +00:00
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
meta = with stdenv.lib; {
description = "Mock hardware devices for creating unit tests";
license = licenses.lgpl2;
maintainers = [ maintainers.ndowens ];
platforms = with platforms; linux;
};
}