3
0
Fork 0
forked from mirrors/nixpkgs

umockdev: 0.8.13 → 0.11

This commit is contained in:
Jan Tojnar 2018-02-17 03:55:17 +01:00
parent 3b206f98f9
commit cf1fb92b9e
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,25 +1,21 @@
{ stdenv, fetchFromGitHub, autoreconfHook
{ stdenv, fetchFromGitHub, automake, autoconf, libtool, gtk_doc
, pkgconfig, glib, systemd, libgudev, vala }:
stdenv.mkDerivation rec {
name = "umockdev";
version = "0.8.13";
name = "umockdev-${version}";
version = "0.11";
src = fetchFromGitHub {
owner = "martinpitt";
repo = "umockdev";
rev = version;
sha256 ="0bw2dpshlgbdwg5mhq4j22z474llpqix8pxii63r2bk5nhjc537k";
sha256 ="1gpk2f03nad4qv084hx7549d68cqc1xibxm0ncanafm5xjz1hp55";
};
buildInputs = [ glib systemd libgudev vala ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ glib systemd libgudev ];
nativeBuildInputs = [ automake autoconf libtool gtk_doc pkgconfig vala ];
### docs/gtk-doc.make not found
prePatch = ''
sed -i 's|include $(top_srcdir)/docs/gtk-doc.make||g' docs/reference/Makefile.am
sed -i 's|+=|=|g' docs/reference/Makefile.am
'';
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
meta = with stdenv.lib; {
description = "Mock hardware devices for creating unit tests";