2015-03-26 19:59:36 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2005-08-24 19:13:24 +02:00
|
|
|
|
2016-08-13 04:06:34 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hwdata-${version}";
|
2018-05-07 12:01:21 +02:00
|
|
|
version = "0.312";
|
2013-11-28 08:15:47 +01:00
|
|
|
|
2005-08-24 19:13:24 +02:00
|
|
|
src = fetchurl {
|
2018-05-07 12:01:21 +02:00
|
|
|
url = "https://github.com/vcrhonek/hwdata/archive/v0.312.tar.gz";
|
|
|
|
sha256 = "04dbxfn40b8vyw49qpkslv20akbqm5hwl3cndmqacp6cik1l0gai";
|
2013-11-28 08:15:47 +01:00
|
|
|
};
|
|
|
|
|
2015-01-08 10:26:49 +01:00
|
|
|
preConfigure = "patchShebangs ./configure";
|
|
|
|
|
2013-11-28 08:15:47 +01:00
|
|
|
configureFlags = "--datadir=$(prefix)/data";
|
|
|
|
|
2018-04-25 05:20:18 +02:00
|
|
|
doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
|
|
|
|
|
2013-11-28 08:15:47 +01:00
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/vcrhonek/hwdata;
|
2013-11-28 08:15:47 +01:00
|
|
|
description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-11-28 08:15:47 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2005-08-24 19:13:24 +02:00
|
|
|
};
|
|
|
|
}
|