nixpkgs/pkgs/development/libraries/umockdev/default.nix

26 lines
701 B
Nix
Raw Normal View History

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