1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 six,
6 pytestCheckHook,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "srptools";
12 version = "1.0.1";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-f6QzclahVC6PW7S+0Z4dmuqY/l/5uvdmkzQqHdasfJY=";
20 };
21
22 propagatedBuildInputs = [ six ];
23
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 pythonImportsCheck = [ "srptools" ];
27
28 meta = with lib; {
29 description = "Module to implement Secure Remote Password (SRP) authentication";
30 mainProgram = "srptools";
31 homepage = "https://github.com/idlesign/srptools";
32 changelog = "https://github.com/idlesign/srptools/blob/v${version}/CHANGELOG";
33 license = licenses.bsd3;
34 maintainers = [ ];
35 };
36}