1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-MTXRvqhzNI4afOWLWY6bvv84Q/MXVTsn0w9awRIDAEU=";
14 configureFlags = [ "--datadir=${placeholder "out"}/share" ];
16 doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
19 homepage = "https://github.com/vcrhonek/hwdata";
20 description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
21 license = lib.licenses.gpl2Plus;
22 maintainers = with lib.maintainers; [ pedrohlc ];
23 platforms = lib.platforms.all;