1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 six,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "srp";
11 version = "1.0.22";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-8zDQ7HOH4qyFd0h7FkljFV1KAxvKbiAk8bCTDrkrql0=";
19 };
20
21 propagatedBuildInputs = [ six ];
22
23 # Tests ends up with libssl.so cannot load shared
24 doCheck = false;
25
26 pythonImportsCheck = [ "srp" ];
27
28 meta = with lib; {
29 description = "Implementation of the Secure Remote Password protocol (SRP)";
30 longDescription = ''
31 This package provides an implementation of the Secure Remote Password protocol (SRP).
32 SRP is a cryptographically strong authentication protocol for password-based, mutual authentication over an insecure network connection.
33 '';
34 homepage = "https://github.com/cocagne/pysrp";
35 license = licenses.mit;
36 maintainers = with maintainers; [ jefflabonte ];
37 };
38}