mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
flashrom: 1.0 -> 1.0.1
This commit is contained in:
parent
0eb9f812bd
commit
a28dc2cd7c
@ -1,19 +1,19 @@
|
|||||||
{ lib, stdenv, fetchurl, pkgconfig, libftdi, pciutils }:
|
{ lib, stdenv, fetchurl, pkgconfig, libftdi, pciutils }:
|
||||||
|
|
||||||
let version = "1.0"; in
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "flashrom-${version}";
|
name = "flashrom-${version}";
|
||||||
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.flashrom.org/releases/${name}.tar.bz2";
|
url = "https://download.flashrom.org/releases/flashrom-v${version}.tar.bz2";
|
||||||
sha256 = "0i9wg1lyfg99bld7d00zqjm9f0lk6m0q3h3n9c195c9yysq5ccfb";
|
sha256 = "0i6yrrl69hrqmwd7azj7x3j46m0qpvzmk3b5basym7mnlpfzhyfm";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Newer versions of libusb deprecate some API flashrom uses.
|
# Newer versions of libusb deprecate some API flashrom uses.
|
||||||
postPatch = ''
|
#postPatch = ''
|
||||||
substituteInPlace Makefile \
|
# substituteInPlace Makefile \
|
||||||
--replace "-Werror" "-Werror -Wno-error=deprecated-declarations -Wno-error=unused-const-variable="
|
# --replace "-Werror" "-Werror -Wno-error=deprecated-declarations -Wno-error=unused-const-variable="
|
||||||
'';
|
#'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libftdi pciutils ];
|
buildInputs = [ libftdi pciutils ];
|
||||||
|
Loading…
Reference in New Issue
Block a user