diff options
author | Nikolay Amiantov <ab@fmap.me> | 2015-10-20 17:07:29 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2015-10-20 17:07:29 +0300 |
commit | 1c48e74a33069a90e3c210b3198af2ec33c519b1 (patch) | |
tree | 170714836172f48bcf15c39937afb86310f1f3b3 /pkgs/os-specific | |
parent | 80b1f3378d38c8c9bf7a21d2b5a16519f30314b4 (diff) | |
parent | 18ddcd28473953bfe4f416f5c0882f2040280fb0 (diff) |
Merge pull request #8299 from abbradar/steam-native
Steam: use native NixOS libraries instead of Steam Runtime
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/udev/182.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/udev/182.nix b/pkgs/os-specific/linux/udev/182.nix new file mode 100644 index 0000000000000..fcf06e3e8990d --- /dev/null +++ b/pkgs/os-specific/linux/udev/182.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchurl, pkgconfig +, pciutils, utillinux, kmod, usbutils, gperf +}: + +assert stdenv ? glibc; + +stdenv.mkDerivation rec { + name = "udev-182"; + + src = fetchurl { + url = "mirror://kernel/linux/utils/kernel/hotplug/${name}.tar.bz2"; + sha256 = "143qvm0kij26j2l5icnch4x38fajys6li7j0c5mpwi6kqmc8hqx0"; + }; + + nativeBuildInputs = [ pkgconfig ]; + + buildInputs = [ utillinux kmod usbutils #glib gobjectIntrospection + gperf + ]; + + configureFlags = [ "--with-pci-ids-path=${pciutils}/share/pci.ids" + "--disable-gudev" + "--disable-introspection" + ]; + + NIX_LDFLAGS = [ "-lrt" ]; + + meta = with stdenv.lib; { + homepage = http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html; + description = "Udev manages the /dev filesystem"; + platforms = platforms.linux; + license = licenses.gpl2; + }; +} |