mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 18:34:41 +00:00
Add libgudev
This has been split from systemd.
This commit is contained in:
parent
d242e59fc4
commit
3bada19e24
21
pkgs/development/libraries/libgudev/default.nix
Normal file
21
pkgs/development/libraries/libgudev/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -7076,6 +7076,8 @@ let
|
||||||
|
|
||||||
libgsystem = callPackage ../development/libraries/libgsystem { };
|
libgsystem = callPackage ../development/libraries/libgsystem { };
|
||||||
|
|
||||||
|
libgudev = callPackage ../development/libraries/libgudev { };
|
||||||
|
|
||||||
libguestfs = callPackage ../development/libraries/libguestfs {
|
libguestfs = callPackage ../development/libraries/libguestfs {
|
||||||
inherit (perlPackages) libintlperl GetoptLong SysVirt;
|
inherit (perlPackages) libintlperl GetoptLong SysVirt;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue