scrypt: 1.2.0 -> 1.2.1

This commit is contained in:
Peter Hoeg 2017-10-12 12:40:56 +08:00
parent 0381d60e71
commit b551054917

View File

@ -2,27 +2,26 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "scrypt-${version}"; name = "scrypt-${version}";
version = "1.2.0"; version = "1.2.1";
src = fetchurl { src = fetchurl {
url = "https://www.tarsnap.com/scrypt/${name}.tgz"; url = "https://www.tarsnap.com/scrypt/${name}.tgz";
sha256 = "1m39hpfby0fdjam842773i5w7pa0qaj7f0r22jnchxsj824vqm0p"; sha256 = "0xy5yhrwwv13skv9im9vm76rybh9f29j2dh4hlh2x01gvbkza8a6";
}; };
buildInputs = [ openssl ]; buildInputs = [ openssl ];
patchPhase = '' patchPhase = ''
substituteInPlace Makefile.in \ for f in Makefile.in autotools/Makefile.am libcperciva/cpusupport/Build/cpusupport.sh ; do
--replace "command -p mv" "mv" substituteInPlace $f --replace "command -p " ""
substituteInPlace autocrap/Makefile.am \ done
--replace "command -p mv" "mv"
''; '';
meta = { meta = with stdenv.lib; {
description = "Encryption utility"; description = "Encryption utility";
homepage = https://www.tarsnap.com/scrypt.html; homepage = https://www.tarsnap.com/scrypt.html;
license = stdenv.lib.licenses.bsd2; license = licenses.bsd2;
platforms = stdenv.lib.platforms.all; platforms = platforms.all;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; maintainers = with maintainers; [ thoughtpolice ];
}; };
} }