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