nixpkgs-suyu/pkgs/os-specific/linux/hwdata/default.nix
2014-07-28 11:31:14 +02:00

21 lines
595 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "hwdata-0.249";
src = fetchurl {
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;
platforms = stdenv.lib.platforms.linux;
};
}