3296b87bb1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 0.310 with grep in /nix/store/m4pqcazp9c7nn1kkzi12l9m6hr8drl7v-hwdata-0.310 - found 0.310 in filename of file in /nix/store/m4pqcazp9c7nn1kkzi12l9m6hr8drl7v-hwdata-0.310
23 lines
607 B
Nix
23 lines
607 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "hwdata-${version}";
|
|
version = "0.310";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/vcrhonek/hwdata/archive/v0.310.tar.gz";
|
|
sha256 = "08mhwwc9g9cpfyxrwwviflkdk2jnqs6hc95iv4r5d59hqrj5kida";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|