1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, openssl
5}:
6
7buildPythonPackage rec {
8 pname = "scrypt";
9 version = "0.8.13";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "1377b1adc98c4152694bf5d7e93b41a9d2e9060af69b747cfad8c93ac426f9ea";
14 };
15
16 buildInputs = [ openssl ];
17 doCheck = false;
18
19 meta = with stdenv.lib; {
20 description = "Bindings for scrypt key derivation function library";
21 homepage = https://pypi.python.org/pypi/scrypt;
22 maintainers = with maintainers; [ asymmetric ];
23 license = licenses.bsd2;
24 };
25}