1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation {
4 name = "hwdata-0.276";
5
6 src = fetchurl {
7 url = "https://git.fedorahosted.org/cgit/hwdata.git/snapshot/hwdata-0.276.tar.xz";
8 sha256 = "0pg0ms6kb2mm25mdklsb0xn2spcwi2mhygzc7bkpji72qq8srzsh";
9 };
10
11 preConfigure = "patchShebangs ./configure";
12
13 configureFlags = "--datadir=$(prefix)/data";
14
15 meta = {
16 homepage = "https://fedorahosted.org/hwdata/";
17 description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
18 license = stdenv.lib.licenses.gpl2;
19 platforms = stdenv.lib.platforms.linux;
20 };
21}