1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 python,
6}:
7
8buildPythonPackage rec {
9 pname = "pyscrypt";
10 version = "1.6.2";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1sd5pd5fpcdnpp4h58kdnvkf0s3afh4ssfqky2ap6z0gy6ax3zds";
16 };
17
18 checkPhase = ''
19 ${python.interpreter} tests/run-tests-hash.py
20 '';
21
22 meta = with lib; {
23 homepage = "https://github.com/ricmoo/pyscrypt/";
24 description = "Pure-Python implementation of Scrypt PBKDF and scrypt file format library";
25 license = licenses.mit;
26 maintainers = with maintainers; [ valodim ];
27 };
28}