2013-09-03 03:49:08 +02:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "scrypt";
|
2019-09-29 07:15:31 +02:00
|
|
|
version = "1.3.0";
|
2013-09-03 03:49:08 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://www.tarsnap.com/scrypt/${pname}-${version}.tgz";
|
2019-09-29 07:15:31 +02:00
|
|
|
sha256 = "0j17yfrpi2bk5cawb4a4mzpv1vadqxh956hx0pa1gqfisknk8c16";
|
2013-09-03 03:49:08 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2015-08-31 14:45:18 +02:00
|
|
|
patchPhase = ''
|
2017-10-12 06:40:56 +02:00
|
|
|
for f in Makefile.in autotools/Makefile.am libcperciva/cpusupport/Build/cpusupport.sh ; do
|
|
|
|
substituteInPlace $f --replace "command -p " ""
|
|
|
|
done
|
2015-08-31 14:45:18 +02:00
|
|
|
'';
|
|
|
|
|
2017-10-12 06:40:56 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Encryption utility";
|
2014-03-20 19:38:02 +01:00
|
|
|
homepage = https://www.tarsnap.com/scrypt.html;
|
2017-10-12 06:40:56 +02:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
2013-09-03 03:49:08 +02:00
|
|
|
};
|
|
|
|
}
|