nixpkgs-suyu/pkgs/development/libraries/libgudev/default.nix
Eelco Dolstra 3bada19e24 Add libgudev
This has been split from systemd.
2015-09-08 14:50:50 +02:00

21 lines
561 B
Nix

{ lib, stdenv, fetchurl, pkgconfig, udev, glib }:
let version = "230"; in
stdenv.mkDerivation rec {
name = "libgudev-${version}";
src = fetchurl {
url = "https://download.gnome.org/sources/libgudev/${version}/${name}.tar.xz";
sha256 = "a2e77faced0c66d7498403adefcc0707105e03db71a2b2abd620025b86347c18";
};
buildInputs = [ pkgconfig udev glib ];
meta = {
homepage = https://wiki.gnome.org/Projects/libgudev;
maintainers = [ lib.maintainers.eelco ];
platforms = lib.platforms.linux;
license = lib.licenses.lgpl2Plus;
};
}