depot/third_party/nixpkgs/pkgs/development/python-modules/srp/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

38 lines
964 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
six,
pythonOlder,
}:
buildPythonPackage rec {
pname = "srp";
version = "1.0.21";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-hmgTvPUhGJoVY+bKMRK29U/fclpBCi2+u28NhLgqHx0=";
};
propagatedBuildInputs = [ six ];
# Tests ends up with libssl.so cannot load shared
doCheck = false;
pythonImportsCheck = [ "srp" ];
meta = with lib; {
description = "Implementation of the Secure Remote Password protocol (SRP)";
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 ];
};
}