about summary refs log tree commit diff
path: root/pkgs/tools/misc/flashrom
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2019-04-02 08:04:37 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2019-04-02 12:02:39 +0200
commita28dc2cd7c86210c56b799a441216011eaa4a420 (patch)
treec5e4f6fda20f775bfd8f2dc716b7f3caa5accb94 /pkgs/tools/misc/flashrom
parent0eb9f812bd362211344d5cc04823aea94e5d6a00 (diff)
flashrom: 1.0 -> 1.0.1
Diffstat (limited to 'pkgs/tools/misc/flashrom')
-rw-r--r--pkgs/tools/misc/flashrom/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/tools/misc/flashrom/default.nix b/pkgs/tools/misc/flashrom/default.nix
index 21a126b04f3bc..b45df3f57b562 100644
--- a/pkgs/tools/misc/flashrom/default.nix
+++ b/pkgs/tools/misc/flashrom/default.nix
@@ -1,19 +1,19 @@
 { lib, stdenv, fetchurl, pkgconfig, libftdi, pciutils }:
 
-let version = "1.0"; in
 stdenv.mkDerivation rec {
   name = "flashrom-${version}";
+  version = "1.0.1";
 
   src = fetchurl {
-    url = "https://download.flashrom.org/releases/${name}.tar.bz2";
-    sha256 = "0i9wg1lyfg99bld7d00zqjm9f0lk6m0q3h3n9c195c9yysq5ccfb";
+    url = "https://download.flashrom.org/releases/flashrom-v${version}.tar.bz2";
+    sha256 = "0i6yrrl69hrqmwd7azj7x3j46m0qpvzmk3b5basym7mnlpfzhyfm";
   };
 
   # Newer versions of libusb deprecate some API flashrom uses.
-  postPatch = ''
-    substituteInPlace Makefile \
-      --replace "-Werror" "-Werror -Wno-error=deprecated-declarations -Wno-error=unused-const-variable="
-  '';
+  #postPatch = ''
+  #  substituteInPlace Makefile \
+  #    --replace "-Werror" "-Werror -Wno-error=deprecated-declarations -Wno-error=unused-const-variable="
+  #'';
 
   nativeBuildInputs = [ pkgconfig ];
   buildInputs = [ libftdi pciutils ];