3
0
Fork 0
forked from mirrors/nixpkgs

nixpkgs: scrypt 1.1.6 -> 1.2.0

Now with less build breakage!
This commit is contained in:
Austin Seipp 2015-08-31 07:45:18 -05:00
parent ed5f04eb86
commit 8a74451273

View file

@ -2,15 +2,24 @@
stdenv.mkDerivation rec {
name = "scrypt-${version}";
version = "1.1.6";
version = "1.2.0";
src = fetchurl {
url = "https://www.tarsnap.com/scrypt/scrypt-1.1.6.tgz";
sha256 = "dfd0d1a544439265bbb9b58043ad3c8ce50a3987b44a61b1d39fd7a3ed5b7fb8";
url = "https://www.tarsnap.com/scrypt/${name}.tgz";
sha256 = "1m39hpfby0fdjam842773i5w7pa0qaj7f0r22jnchxsj824vqm0p";
};
buildInputs = [ openssl ];
patchPhase = ''
substituteInPlace Makefile \
--replace "command -p mv" "mv"
substituteInPlace Makefile.in \
--replace "command -p mv" "mv"
substituteInPlace autocrap/Makefile.am \
--replace "command -p mv" "mv"
'';
meta = {
description = "Encryption utility";
homepage = https://www.tarsnap.com/scrypt.html;