579de35030
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. This update was made based on information from https://repology.org/metapackage/umockdev/versions. These checks were done: - built on NixOS - ran `/nix/store/7lpv5i13wb3w9yzid1x1hymb4cwrjisa-umockdev-0.11.2/bin/umockdev-run -h` got 0 exit code - ran `/nix/store/7lpv5i13wb3w9yzid1x1hymb4cwrjisa-umockdev-0.11.2/bin/umockdev-run --help` got 0 exit code - ran `/nix/store/7lpv5i13wb3w9yzid1x1hymb4cwrjisa-umockdev-0.11.2/bin/umockdev-record -h` got 0 exit code - ran `/nix/store/7lpv5i13wb3w9yzid1x1hymb4cwrjisa-umockdev-0.11.2/bin/umockdev-record --help` got 0 exit code - found 0.11.2 with grep in /nix/store/7lpv5i13wb3w9yzid1x1hymb4cwrjisa-umockdev-0.11.2 - directory tree listing: https://gist.github.com/f15b0f7c88a9a3c931d00fe888311f2f
27 lines
742 B
Nix
27 lines
742 B
Nix
{ stdenv, fetchFromGitHub, automake, autoconf, libtool, gtk-doc
|
|
, pkgconfig, glib, systemd, libgudev, vala }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "umockdev-${version}";
|
|
version = "0.11.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "martinpitt";
|
|
repo = "umockdev";
|
|
rev = version;
|
|
sha256 ="1dvhs9nkznlnagzjny61fh574g42c47b9s5hxsqdgqb51njawdg1";
|
|
};
|
|
|
|
buildInputs = [ glib systemd libgudev ];
|
|
nativeBuildInputs = [ automake autoconf libtool gtk-doc pkgconfig vala ];
|
|
|
|
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Mock hardware devices for creating unit tests";
|
|
license = licenses.lgpl2;
|
|
maintainers = [ maintainers.ndowens ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|