anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / spake2 / default.nix
blob98602e7d521b2cc7a6639f8b20a82f888bdbbd24
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   fetchpatch2,
6   setuptools,
7   cryptography,
8   pytestCheckHook,
9 }:
11 buildPythonPackage rec {
12   pname = "spake2";
13   version = "0.9";
14   pyproject = true;
16   src = fetchFromGitHub {
17     owner = "warner";
18     repo = "python-spake2";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-WPMGH1OzG+5O+2lNl2sv06/dNardY+BHYDS290Z36vQ=";
21   };
23   build-system = [ setuptools ];
25   dependencies = [ cryptography ];
27   pythonImportsCheck = [ "spake2" ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   meta = with lib; {
32     changelog = "https://github.com/warner/python-spake2/blob/v${version}/NEWS";
33     description = "SPAKE2 password-authenticated key exchange library";
34     homepage = "https://github.com/warner/python-spake2";
35     license = licenses.mit;
36     maintainers = with maintainers; [ dotlambda ];
37   };