1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation (finalAttrs: {
8 pname = "hwdata";
9 version = "0.397";
10
11 src = fetchFromGitHub {
12 owner = "vcrhonek";
13 repo = "hwdata";
14 rev = "v${finalAttrs.version}";
15 hash = "sha256-+sspONNszkXVl357Gs40AYvppIYFvlaeVMuei9gpLLU=";
16 };
17
18 doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
19
20 meta = {
21 homepage = "https://github.com/vcrhonek/hwdata";
22 description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
23 license = lib.licenses.gpl2Plus;
24 maintainers = with lib.maintainers; [
25 johnrtitor
26 pedrohlc
27 ];
28 platforms = lib.platforms.all;
29 };
30})