blob: f46efd9f496ec5516f220164cd4f6a16a4242779 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ lib
, cffi
, six
, hypothesis
, pytest
, wheel
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "argon2_cffi";
version = "18.1.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "7e4b75611b73f53012117ad21cdde7a17b32d1e99ff6799f22d827eb83a2a59b";
};
propagatedBuildInputs = [ cffi six ];
checkInputs = [ hypothesis pytest wheel ];
checkPhase = ''
pytest tests
'';
meta = {
description = "Secure Password Hashes for Python";
homepage = https://argon2-cffi.readthedocs.io/;
};
}
|