Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / spake2 / default.nix
bloba5f5f6bf92a4c1527b12c99f4bd24bb6ee475491
1 { lib, buildPythonPackage, fetchPypi, hkdf, pytest }:
3 buildPythonPackage rec {
4   pname = "spake2";
5   version = "0.8";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "c17a614b29ee4126206e22181f70a406c618d3c6c62ca6d6779bce95e9c926f4";
10   };
12   nativeCheckInputs = [ pytest ];
14   propagatedBuildInputs = [ hkdf ];
16   checkPhase = ''
17     py.test $out
18   '';
20   meta = with lib; {
21     description = "SPAKE2 password-authenticated key exchange library";
22     homepage = "https://github.com/warner/python-spake2";
23     license = licenses.mit;
24   };