d628d8ccb9
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. These checks were done: - built on NixOS - ran ‘/nix/store/lzgyyshqfl8ma25ixvldaz40pscq30h4-umockdev-0.11.3/bin/umockdev-run -h’ got 0 exit code - ran ‘/nix/store/lzgyyshqfl8ma25ixvldaz40pscq30h4-umockdev-0.11.3/bin/umockdev-run --help’ got 0 exit code - ran ‘/nix/store/lzgyyshqfl8ma25ixvldaz40pscq30h4-umockdev-0.11.3/bin/umockdev-run --version’ and found version 0.11.3 - ran ‘/nix/store/lzgyyshqfl8ma25ixvldaz40pscq30h4-umockdev-0.11.3/bin/umockdev-record -h’ got 0 exit code - ran ‘/nix/store/lzgyyshqfl8ma25ixvldaz40pscq30h4-umockdev-0.11.3/bin/umockdev-record --help’ got 0 exit code - ran ‘/nix/store/lzgyyshqfl8ma25ixvldaz40pscq30h4-umockdev-0.11.3/bin/umockdev-record --version’ and found version 0.11.3 - found 0.11.3 with grep in /nix/store/lzgyyshqfl8ma25ixvldaz40pscq30h4-umockdev-0.11.3 - directory tree listing: https://gist.github.com/3dcf7f53d51ca4a9c739e567456cb16f
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.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "martinpitt";
|
|
repo = "umockdev";
|
|
rev = version;
|
|
sha256 ="1z101yw7clxz39im3y435s3rj1gna3kp0fkj9wd62vxqvk68lhik";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|