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

22 lines
595 B
Nix
Raw Normal View History

{stdenv, fetchurl}:
stdenv.mkDerivation {
2013-11-28 07:15:47 +00:00
name = "hwdata-0.249";
src = fetchurl {
2013-11-28 07:15:47 +00:00
url = "https://git.fedorahosted.org/cgit/hwdata.git/snapshot/hwdata-0.249-1.tar.bz2";
sha256 = "1ak3h3psg3wk9yk0dqnzdzik3jadzja3ah22vjfmf71p3b5xc8ai";
};
preConfigure = "patchShebangs ./configure";
configureFlags = "--datadir=$(prefix)/data";
meta = {
homepage = "https://fedorahosted.org/hwdata/";
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;
};
}