10 stdenv.mkDerivation rec {
15 url = "https://www.tarsnap.com/scrypt/${pname}-${version}.tgz";
16 sha256 = "sha256-1jLBGTQgrG+uv5SC5l4z06VmTszWQ7CaUJ0h0cHym+I=";
25 configureFlags = [ "--enable-libscrypt-kdf" ];
27 buildInputs = [ openssl ];
29 nativeBuildInputs = [ getconf ];
32 for f in Makefile.in autotools/Makefile.am libcperciva/cpusupport/Build/cpusupport.sh configure ; do
33 substituteInPlace $f --replace "command -p " ""
36 patchShebangs tests/test_scrypt.sh
41 nativeCheckInputs = lib.optionals stdenv.hostPlatform.isLinux [ util-linux ];
44 description = "Encryption utility";
45 mainProgram = "scrypt";
46 homepage = "https://www.tarsnap.com/scrypt.html";
47 license = licenses.bsd2;
48 platforms = platforms.all;
49 maintainers = with maintainers; [ thoughtpolice ];