6a87882937
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/hwdata/versions. <details><summary>Version release notes (from GitHub)</summary> </details> These checks were done: - built on NixOS - 0 of 0 passed binary check by having a zero exit code. - 0 of 0 passed binary check by having the new version present in output. - found 0.313 with grep in /nix/store/q7cj4jh3pf1g9wlhsmz8034mi6ljink0-hwdata-0.313 - directory tree listing: https://gist.github.com/f132a672f7d5f48add649a0fabcdfd67 - du listing: https://gist.github.com/750425ee97475d74680486f11bebc6a5
24 lines
695 B
Nix
24 lines
695 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "hwdata-${version}";
|
|
version = "0.313";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/vcrhonek/hwdata/archive/v0.313.tar.gz";
|
|
sha256 = "0x0qk2cim1mv8cl8h8rwqn8mbbs43j04rn06m81b531i182zii17";
|
|
};
|
|
|
|
preConfigure = "patchShebangs ./configure";
|
|
|
|
configureFlags = "--datadir=$(prefix)/data";
|
|
|
|
doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
|
|
|
|
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;
|
|
};
|
|
}
|