nixpkgs/pkgs/os-specific/linux/hwdata/default.nix

25 lines
695 B
Nix
Raw Normal View History

2015-03-26 18:59:36 +00:00
{ stdenv, fetchurl }:
2016-08-13 02:06:34 +00:00
stdenv.mkDerivation rec {
name = "hwdata-${version}";
version = "0.313";
2013-11-28 07:15:47 +00:00
src = fetchurl {
url = "https://github.com/vcrhonek/hwdata/archive/v0.313.tar.gz";
sha256 = "0x0qk2cim1mv8cl8h8rwqn8mbbs43j04rn06m81b531i182zii17";
2013-11-28 07:15:47 +00:00
};
preConfigure = "patchShebangs ./configure";
2013-11-28 07:15:47 +00:00
configureFlags = "--datadir=$(prefix)/data";
doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
2013-11-28 07:15:47 +00:00
meta = {
homepage = https://github.com/vcrhonek/hwdata;
2013-11-28 07:15:47 +00:00
description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
license = stdenv.lib.licenses.gpl2;
2013-11-28 07:15:47 +00:00
platforms = stdenv.lib.platforms.linux;
};
}