2015-03-26 18:59:36 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2005-08-24 18:13:24 +01:00
|
|
|
|
2016-08-13 03:06:34 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hwdata-${version}";
|
2017-05-12 22:28:36 +01:00
|
|
|
version = "0.300";
|
2013-11-28 07:15:47 +00:00
|
|
|
|
2005-08-24 18:13:24 +01:00
|
|
|
src = fetchurl {
|
2017-05-12 22:28:36 +01:00
|
|
|
url = "http://pkgs.fedoraproject.org/repo/pkgs/hwdata/v0.300.tar.gz/sha512/34294fcf65c3cb17c19d625732d1656ec1992dde254a68ee35681ad2f310bc05028a85889efa2c1d1e8a2d10885ccc00185475a00f6f2fb82d07e2349e604a51/v0.300.tar.gz";
|
|
|
|
sha256 = "03xlj05qyixhnsybq1qnr7j5q2nvirs4jxpgg4sbw8swsqj3dgqi";
|
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 = {
|
2017-05-12 22:28:36 +01:00
|
|
|
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";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-11-28 07:15:47 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2005-08-24 18:13:24 +01:00
|
|
|
};
|
|
|
|
}
|