mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
umockdev: 0.8.13 → 0.11
This commit is contained in:
parent
3b206f98f9
commit
cf1fb92b9e
@ -1,25 +1,21 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook
|
||||
, pkgconfig, glib, systemd, libgudev, vala }:
|
||||
{ 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";
|
||||
|
Loading…
Reference in New Issue
Block a user