2017-04-01 11:26:36 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, udev, glib }:
|
2015-09-08 13:50:50 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libgudev-${version}";
|
2017-04-01 11:26:36 +01:00
|
|
|
version = "231";
|
2015-09-08 13:50:50 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.gnome.org/sources/libgudev/${version}/${name}.tar.xz";
|
2017-04-01 11:26:36 +01:00
|
|
|
sha256 = "15iz0qp57qy5pjrblsn36l0chlncqggqsg8h8i8c71499afzj7iv";
|
2015-09-08 13:50:50 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ udev glib ];
|
2015-09-08 13:50:50 +01:00
|
|
|
|
2017-04-01 12:24:10 +01:00
|
|
|
# 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; {
|
2015-09-08 13:50:50 +01:00
|
|
|
homepage = https://wiki.gnome.org/Projects/libgudev;
|
2017-04-01 11:26:36 +01:00
|
|
|
maintainers = [ maintainers.eelco ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl2Plus;
|
2015-09-08 13:50:50 +01:00
|
|
|
};
|
|
|
|
}
|