3
0
Fork 0
forked from mirrors/nixpkgs

hwdata: fixed-output derivation (#44606)

This commit is contained in:
volth 2018-08-07 13:50:01 +00:00 committed by xeji
parent 7bff0b71d1
commit 53df81926a

View file

@ -1,12 +1,14 @@
{ stdenv, fetchurl }: { stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "hwdata-${version}"; name = "hwdata-${version}";
version = "0.313"; version = "0.313";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/vcrhonek/hwdata/archive/v0.313.tar.gz"; owner = "vcrhonek";
sha256 = "0x0qk2cim1mv8cl8h8rwqn8mbbs43j04rn06m81b531i182zii17"; repo = "hwdata";
rev = "v${version}";
sha256 = "1mmqiy4ams14mdiakz60dm07wfan343hisiiz0dwvh685mjxap8h";
}; };
preConfigure = "patchShebangs ./configure"; preConfigure = "patchShebangs ./configure";
@ -15,6 +17,10 @@ stdenv.mkDerivation rec {
doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus) doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "0lz8pykpfw6aqkpdaqdc3jnny1iqgsqnc0wm61784xxml7zqfdvx";
meta = { meta = {
homepage = https://github.com/vcrhonek/hwdata; homepage = https://github.com/vcrhonek/hwdata;
description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards"; description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";