Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 25 lines 701 B view raw
1{ stdenv, fetchFromGitHub, automake, autoconf, libtool, gtk-doc 2, pkgconfig, glib, systemd, libgudev, vala }: 3 4stdenv.mkDerivation rec { 5 name = "umockdev-${version}"; 6 version = "0.11"; 7 8 src = fetchFromGitHub { 9 owner = "martinpitt"; 10 repo = "umockdev"; 11 rev = version; 12 sha256 ="1gpk2f03nad4qv084hx7549d68cqc1xibxm0ncanafm5xjz1hp55"; 13 }; 14 15 buildInputs = [ glib systemd libgudev ]; 16 nativeBuildInputs = [ automake autoconf libtool gtk-doc pkgconfig vala ]; 17 18 preConfigure = "NOCONFIGURE=1 ./autogen.sh"; 19 20 meta = with stdenv.lib; { 21 description = "Mock hardware devices for creating unit tests"; 22 license = licenses.lgpl2; 23 maintainers = [ maintainers.ndowens ]; 24 }; 25}