diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/srptools/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/srptools/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/srptools/default.nix b/nixpkgs/pkgs/development/python-modules/srptools/default.nix new file mode 100644 index 000000000000..e7e9a1e5391b --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/srptools/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildPythonPackage, fetchPypi, six, pytest, pytestrunner }: + +buildPythonPackage rec { + pname = "srptools"; + version = "1.0.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "5754f639ed1888f47c1185d74e8907ff9af4c0ccc1c8be2ef19339d0a1327f4d"; + }; + + propagatedBuildInputs = [ six ]; + + checkInputs = [ pytest pytestrunner ]; + + meta = with stdenv.lib; { + description = "Python-Tools to implement Secure Remote Password (SRP) authentication"; + homepage = https://github.com/idlesign/srptools; + license = licenses.bsd3; + maintainers = with maintainers; [ elseym ]; + }; +} |