forked from mirrors/nixpkgs
hwdata: fixed-output derivation (#44606)
This commit is contained in:
parent
7bff0b71d1
commit
53df81926a
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue