git.iko.soy/typeable/nixpkgs
on master help sign in
nixpkgs: scrypt 1.1.6 -> 1.2.0

Now with less build breakage!

commit8a74451273f50f69d3ed27344600771d99443190 authorAustin Seipp <aseipp@pobox.com> dateMon 31 Aug 2015, 07:45 (11 years ago) parented5f04e
1 file changed+12−3
pkgs/tools/security/scrypt/default.nix+12−3
pkgs/tools/security/scrypt/default.nix+12−3
@@ -2,15 +2,24 @@
22
33stdenv.mkDerivation rec {
44 name = "scrypt-${version}";
5− version = "1.1.6";
5+ version = "1.2.0";
66
77 src = fetchurl {
8− url = "https://www.tarsnap.com/scrypt/scrypt-1.1.6.tgz";
9− sha256 = "dfd0d1a544439265bbb9b58043ad3c8ce50a3987b44a61b1d39fd7a3ed5b7fb8";
8+ url = "https://www.tarsnap.com/scrypt/${name}.tgz";
9+ sha256 = "1m39hpfby0fdjam842773i5w7pa0qaj7f0r22jnchxsj824vqm0p";
1010 };
1111
1212 buildInputs = [ openssl ];
1313
14+ patchPhase = ''
15+ substituteInPlace Makefile \
16+ --replace "command -p mv" "mv"
17+ substituteInPlace Makefile.in \
18+ --replace "command -p mv" "mv"
19+ substituteInPlace autocrap/Makefile.am \
20+ --replace "command -p mv" "mv"
21+ '';
22+
1423 meta = {
1524 description = "Encryption utility";
1625 homepage = https://www.tarsnap.com/scrypt.html;