mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
0599202268
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/umockdev/versions
35 lines
932 B
Nix
35 lines
932 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, umockdev, gobject-introspection
|
|
, pkgconfig, glib, systemd, libgudev, vala }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "umockdev-${version}";
|
|
version = "0.12.1";
|
|
|
|
outputs = [ "bin" "out" "dev" "doc" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "martinpitt";
|
|
repo = "umockdev";
|
|
rev = version;
|
|
sha256 = "0wnmz4jh04mvqzjnqvxrah969gg4x4v8d6ip61zc7jpbwnqb2fpg";
|
|
};
|
|
|
|
# autoreconfHook complains if we try to build the documentation
|
|
postPatch = ''
|
|
echo 'EXTRA_DIST =' > docs/gtk-doc.make
|
|
'';
|
|
|
|
buildInputs = [ glib systemd libgudev ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig vala gobject-introspection ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Mock hardware devices for creating unit tests";
|
|
license = licenses.lgpl2;
|
|
maintainers = with maintainers; [ ndowens ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|