2021-02-05 17:12:51 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, six, lib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "srp";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "1.0.17";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-09 03:18:52 +00:00
|
|
|
sha256 = "f2e3fed4e5cbfd6b481edc9cdd51a8c39a609eae117210218556004bdc9016b2";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
# Tests ends up with libssl.so cannot load shared
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
longDescription = ''
|
|
|
|
This package provides an implementation of the Secure Remote Password protocol (SRP).
|
|
|
|
SRP is a cryptographically strong authentication protocol for password-based, mutual authentication over an insecure network connection.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/cocagne/pysrp";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jefflabonte ];
|
|
|
|
};
|
|
|
|
}
|