about summary refs log tree commit diff
path: root/pkgs/tools/security/scrypt/default.nix
blob: ca2c9f43dfcd4d23f97fa36432a00abf75f07dbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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 = "BSD";
    platforms = stdenv.lib.platforms.all;
  };
}