9 stdenv.mkDerivation rec {
14 url = "https://www.tarsnap.com/scrypt/${pname}-${version}.tgz";
15 sha256 = "sha256-1jLBGTQgrG+uv5SC5l4z06VmTszWQ7CaUJ0h0cHym+I=";
18 outputs = [ "out" "lib" "dev" ];
20 configureFlags = [ "--enable-libscrypt-kdf" ];
22 buildInputs = [ openssl ];
24 nativeBuildInputs = [ getconf ];
27 for f in Makefile.in autotools/Makefile.am libcperciva/cpusupport/Build/cpusupport.sh configure ; do
28 substituteInPlace $f --replace "command -p " ""
31 patchShebangs tests/test_scrypt.sh
36 nativeCheckInputs = lib.optionals stdenv.hostPlatform.isLinux [ util-linux ];
39 description = "Encryption utility";
40 mainProgram = "scrypt";
41 homepage = "https://www.tarsnap.com/scrypt.html";
42 license = licenses.bsd2;
43 platforms = platforms.all;
44 maintainers = with maintainers; [ thoughtpolice ];