about summary refs log tree commit diff
path: root/pkgs/development/python-modules/py_scrypt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/py_scrypt/default.nix')
-rw-r--r--pkgs/development/python-modules/py_scrypt/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/py_scrypt/default.nix b/pkgs/development/python-modules/py_scrypt/default.nix
new file mode 100644
index 000000000000..bf6300b84119
--- /dev/null
+++ b/pkgs/development/python-modules/py_scrypt/default.nix
@@ -0,0 +1,26 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, openssl
+}:
+
+buildPythonPackage rec {
+  pname = "scrypt";
+  version = "0.8.0";
+  name = "${pname}-${version}";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0830r3q8f8mc4738ngcvwhv9kih5c6zf87mzkdifzf2h6kss99fl";
+  };
+
+  buildInputs = [ openssl ];
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    description = "Bindings for scrypt key derivation function library";
+    homepage = https://pypi.python.org/pypi/scrypt;
+    maintainers = with maintainers; [ asymmetric ];
+    license = licenses.bsd2;
+  };
+}