nixpkgs/pkgs/by-name/hw/hwdata/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
714 B
Nix
Raw Normal View History

2021-01-15 14:45:37 +00:00
{ lib, stdenv, fetchFromGitHub }:
2016-08-13 02:06:34 +00:00
stdenv.mkDerivation rec {
pname = "hwdata";
version = "0.388";
2013-11-28 07:15:47 +00:00
src = fetchFromGitHub {
owner = "vcrhonek";
repo = "hwdata";
rev = "v${version}";
hash = "sha256-MTXRvqhzNI4afOWLWY6bvv84Q/MXVTsn0w9awRIDAEU=";
2013-11-28 07:15:47 +00:00
};
2018-10-26 19:20:27 +00:00
configureFlags = [ "--datadir=${placeholder "out"}/share" ];
2013-11-28 07:15:47 +00:00
doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
2013-11-28 07:15:47 +00:00
meta = {
homepage = "https://github.com/vcrhonek/hwdata";
2013-11-28 07:15:47 +00:00
description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
license = lib.licenses.gpl2Plus;
2023-02-08 15:42:40 +00:00
maintainers = with lib.maintainers; [ pedrohlc ];
platforms = lib.platforms.all;
};
}