core/pkgs/by-name/hw/hwdata/default.nix

28 lines
724 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "hwdata";
version = "0.381";
src = fetchFromGitHub {
owner = "vcrhonek";
repo = "hwdata";
rev = "v${version}";
hash = "sha256-FD1p4qyO+ZsBdMXRa9u6CpO07RewWH8OxULLxcYAsyk=";
};
configureFlags = [ "--datadir=${placeholder "out"}/share" ];
2024-05-13 21:24:10 +00:00
doCheck =
false; # this does build machine-specific checks (e.g. enumerates PCI bus)
2024-05-02 00:46:19 +00:00
meta = {
homepage = "https://github.com/vcrhonek/hwdata";
2024-05-13 21:24:10 +00:00
description =
"Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
2024-05-02 00:46:19 +00:00
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ pedrohlc ];
platforms = lib.platforms.all;
};
}