mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
Merge pull request #23967 from ndowens/umockdev
umockdev: init at 0.8.13
This commit is contained in:
commit
dd49357a19
29
pkgs/development/libraries/umockdev/default.nix
Normal file
29
pkgs/development/libraries/umockdev/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook
|
||||
, pkgconfig, glib, systemd, libgudev, vala }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "umockdev";
|
||||
version = "0.8.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "martinpitt";
|
||||
repo = "umockdev";
|
||||
rev = version;
|
||||
sha256 ="0bw2dpshlgbdwg5mhq4j22z474llpqix8pxii63r2bk5nhjc537k";
|
||||
};
|
||||
|
||||
buildInputs = [ glib systemd libgudev vala ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
### 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
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Mock hardware devices for creating unit tests";
|
||||
license = licenses.lgpl2;
|
||||
maintainers = [ maintainers.ndowens ];
|
||||
};
|
||||
}
|
|
@ -9915,6 +9915,8 @@ with pkgs;
|
|||
|
||||
uid_wrapper = callPackage ../development/libraries/uid_wrapper { };
|
||||
|
||||
umockdev = callPackage ../development/libraries/umockdev { };
|
||||
|
||||
unibilium = callPackage ../development/libraries/unibilium { };
|
||||
|
||||
unicap = callPackage ../development/libraries/unicap {};
|
||||
|
|
Loading…
Reference in a new issue