Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, stdenv, fetchurl, openssl, getconf, util-linux,}:
stdenv.mkDerivation rec { pname = "scrypt"; version = "1.3.3";
src = fetchurl { url = "https://www.tarsnap.com/scrypt/${pname}-${version}.tgz"; sha256 = "sha256-HCcQUX6ZjqrC6X2xHwkuNxOeaYhrIaGyZh9k4TAhWuk="; };
outputs = [ "out" "lib" "dev" ];
configureFlags = [ "--enable-libscrypt-kdf" ];
buildInputs = [ openssl ];
nativeBuildInputs = [ getconf ];
patchPhase = '' for f in Makefile.in autotools/Makefile.am libcperciva/cpusupport/Build/cpusupport.sh configure ; do substituteInPlace $f --replace "command -p " "" done
patchShebangs tests/test_scrypt.sh '';
doCheck = true; checkTarget = "test"; nativeCheckInputs = lib.optionals stdenv.hostPlatform.isLinux [ util-linux ];
meta = with lib; { description = "Encryption utility"; mainProgram = "scrypt"; homepage = "https://www.tarsnap.com/scrypt.html"; license = licenses.bsd2; platforms = platforms.all; maintainers = with maintainers; [ thoughtpolice ]; };}