3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libgudev/default.nix

24 lines
675 B
Nix
Raw Normal View History

2017-04-01 11:26:36 +01:00
{ stdenv, fetchurl, pkgconfig, udev, glib }:
stdenv.mkDerivation rec {
name = "libgudev-${version}";
2017-04-01 11:26:36 +01:00
version = "231";
src = fetchurl {
url = "https://download.gnome.org/sources/libgudev/${version}/${name}.tar.xz";
2017-04-01 11:26:36 +01:00
sha256 = "15iz0qp57qy5pjrblsn36l0chlncqggqsg8h8i8c71499afzj7iv";
};
buildInputs = [ pkgconfig udev glib ];
# There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway.
configureFlags = [ "--disable-umockdev" ];
2017-04-01 11:26:36 +01:00
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Projects/libgudev;
2017-04-01 11:26:36 +01:00
maintainers = [ maintainers.eelco ];
platforms = platforms.linux;
license = licenses.lgpl2Plus;
};
}