diff options
author | Ricardo M. Correia <rcorreia@wizy.org> | 2013-09-03 01:49:08 +0000 |
---|---|---|
committer | Ricardo M. Correia <rcorreia@wizy.org> | 2013-09-03 01:49:58 +0000 |
commit | a1bb7c1cfa3553af8477c849b59f83981b952a38 (patch) | |
tree | a5881676c6ffec3927d3de5994936143e66fa9cd /pkgs/tools/security/scrypt | |
parent | ddd1f7b52b1ee8eeb3dd9427aa814e0e1615dbba (diff) |
scrypt: New package
Diffstat (limited to 'pkgs/tools/security/scrypt')
-rw-r--r-- | pkgs/tools/security/scrypt/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/tools/security/scrypt/default.nix b/pkgs/tools/security/scrypt/default.nix new file mode 100644 index 0000000000000..ca2c9f43dfcd4 --- /dev/null +++ b/pkgs/tools/security/scrypt/default.nix @@ -0,0 +1,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; + }; +} |