mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 23:34:12 +03:00
umockdev: 0.8.13 → 0.11
This commit is contained in:
parent
3b206f98f9
commit
cf1fb92b9e
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user