Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 25 lines 714 B view raw
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "hwdata"; 5 version = "0.384"; 6 7 src = fetchFromGitHub { 8 owner = "vcrhonek"; 9 repo = "hwdata"; 10 rev = "v${version}"; 11 hash = "sha256-FuqjvJ0Jtz4hl7fBPXAkz8fGRXkHN8mnZZ3owdzfrnE="; 12 }; 13 14 configureFlags = [ "--datadir=${placeholder "out"}/share" ]; 15 16 doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus) 17 18 meta = { 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; 24 }; 25}