mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
ba1e24c749
Semi-automatic update. These checks were performed: - built on NixOS - found 0.309 with grep in /nix/store/jid52565zlg8jhgqarln207dcj5g9njn-hwdata-0.309 - found 0.309 in filename of file in /nix/store/jid52565zlg8jhgqarln207dcj5g9njn-hwdata-0.309
23 lines
607 B
Nix
23 lines
607 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "hwdata-${version}";
|
|
version = "0.309";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/vcrhonek/hwdata/archive/v0.309.tar.gz";
|
|
sha256 = "1njx4lhg7a0cawz82x535vk4mslmnfj7nmf8dbq8kgqxiqh6h2c7";
|
|
};
|
|
|
|
preConfigure = "patchShebangs ./configure";
|
|
|
|
configureFlags = "--datadir=$(prefix)/data";
|
|
|
|
meta = {
|
|
homepage = https://github.com/vcrhonek/hwdata;
|
|
description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|