The generic part of the nixpkgs expression for botan refers to both the bzip
download and the gzip download. The given hash corresponds to the gzip one
and generates a hash mismatch error. The attached patch downloads the
gzipped one to match the given hash.
>From 1c81a7c099889af2d1d0a11e5666184e2c87674b Mon Sep 17 00:00:00 2001
From: Karn Kallio <[email protected]>
Date: Fri, 9 Jan 2015 12:45:02 -0430
Subject: [PATCH] botan: use the tgz tarball (removing confusion with tbz).
---
pkgs/development/libraries/botan/generic.nix | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/development/libraries/botan/generic.nix b/pkgs/development/libraries/botan/generic.nix
index 791731e..8d68009 100644
--- a/pkgs/development/libraries/botan/generic.nix
+++ b/pkgs/development/libraries/botan/generic.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
name = "Botan-${version}.tgz";
- url = "http://files.randombit.net/botan/v${baseVersion}/Botan-${version}.tbz";
+ url = "http://files.randombit.net/botan/v${baseVersion}/Botan-${version}.tgz";
inherit sha256;
};
--
2.1.4
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev