summary refs log tree commit diff
path: root/pkgs/tools/security/scrypt/default.nix
blob: fe2a19491d99ba1bb8d6cc0a90cf0fc37c56f474 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, openssl }:

stdenv.mkDerivation rec {
  name = "scrypt-${version}";
  version = "1.1.6";

  src = fetchurl {
    url = "https://www.tarsnap.com/scrypt/scrypt-1.1.6.tgz";
    sha256 = "dfd0d1a544439265bbb9b58043ad3c8ce50a3987b44a61b1d39fd7a3ed5b7fb8";
  };

  buildInputs = [ openssl ];

  meta = {
    description = "The scrypt encryption utility";
    homepage    = https://www.tarsnap.com/scrypt.html;
    license     = stdenv.lib.licenses.bsd2;
    platforms   = stdenv.lib.platforms.all;
    maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
  };
}