2015-03-26 18:59:36 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2005-08-24 17:13:24 +00:00
|
|
|
|
2016-08-13 02:06:34 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hwdata-${version}";
|
|
|
|
version = "0.291";
|
2013-11-28 07:15:47 +00:00
|
|
|
|
2005-08-24 17:13:24 +00:00
|
|
|
src = fetchurl {
|
2016-08-13 02:06:34 +00:00
|
|
|
url = "https://git.fedorahosted.org/cgit/hwdata.git/snapshot/hwdata-${version}.tar.xz";
|
|
|
|
sha256 = "121qixrdhdncva1cnj7m7jlqvi1kbj85dpi844jiis3a8hgpzw5a";
|
2013-11-28 07:15:47 +00:00
|
|
|
};
|
|
|
|
|
2015-01-08 09:26:49 +00:00
|
|
|
preConfigure = "patchShebangs ./configure";
|
|
|
|
|
2013-11-28 07:15:47 +00:00
|
|
|
configureFlags = "--datadir=$(prefix)/data";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://fedorahosted.org/hwdata/";
|
|
|
|
description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-11-28 07:15:47 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2005-08-24 17:13:24 +00:00
|
|
|
};
|
|
|
|
}
|