2020-02-11 04:50:24 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, six, lib }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "srp";
|
2020-05-09 12:02:01 +02:00
|
|
|
version = "1.0.16";
|
2020-02-11 04:50:24 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 12:02:01 +02:00
|
|
|
sha256 = "c943b7181322a2bdd50d20e1244536c404916e546131dc1fae10a7cb99a013e9";
|
2020-02-11 04:50:24 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|