2017-04-01 12:26:36 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, udev, glib }:
|
2015-09-08 14:50:50 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libgudev-${version}";
|
2017-09-18 11:49:05 +02:00
|
|
|
version = "232";
|
2015-09-08 14:50:50 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-09-18 11:49:05 +02:00
|
|
|
url = "mirror://gnome/sources/libgudev/${version}/${name}.tar.xz";
|
|
|
|
sha256 = "ee4cb2b9c573cdf354f6ed744f01b111d4b5bed3503ffa956cefff50489c7860";
|
2015-09-08 14:50:50 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ udev glib ];
|
2015-09-08 14:50:50 +02:00
|
|
|
|
2017-04-01 13:24:10 +02:00
|
|
|
# There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway.
|
|
|
|
configureFlags = [ "--disable-umockdev" ];
|
|
|
|
|
2017-04-01 12:26:36 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-09-08 14:50:50 +02:00
|
|
|
homepage = https://wiki.gnome.org/Projects/libgudev;
|
2017-04-01 12:26:36 +02:00
|
|
|
maintainers = [ maintainers.eelco ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl2Plus;
|
2015-09-08 14:50:50 +02:00
|
|
|
};
|
|
|
|
}
|