mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
nixpkgs: scrypt 1.1.6 -> 1.2.0
Now with less build breakage!
This commit is contained in:
parent
ed5f04eb86
commit
8a74451273
1 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue