1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libgudev/default.nix

34 lines
908 B
Nix
Raw Normal View History

2018-03-03 02:56:57 +00:00
{ stdenv, fetchurl, pkgconfig, udev, glib, gnome3 }:
2018-03-03 02:56:57 +00:00
let
pname = "libgudev";
in stdenv.mkDerivation rec {
name = "libgudev-${version}";
2017-09-18 10:49:05 +01:00
version = "232";
src = fetchurl {
2018-03-03 02:56:57 +00:00
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
2017-09-18 10:49:05 +01:00
sha256 = "ee4cb2b9c573cdf354f6ed744f01b111d4b5bed3503ffa956cefff50489c7860";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ udev glib ];
# There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway.
configureFlags = [ "--disable-umockdev" ];
2018-03-03 02:56:57 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
2017-04-01 11:26:36 +01:00
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Projects/libgudev;
2018-03-03 02:56:57 +00:00
maintainers = [ maintainers.eelco ] ++ gnome3.maintainers;
2017-04-01 11:26:36 +01:00
platforms = platforms.linux;
license = licenses.lgpl2Plus;
};
}