nixpkgs/pkgs/development/libraries/libgudev/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

25 lines
702 B
Nix

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