1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "pkce";
10 version = "1.0.3";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "RomeoDespres";
15 repo = "pkce";
16 rev = version;
17 hash = "sha256-dOHCu0pDXk9LM4Yobaz8GAfVpBd8rXlty+Wfhx+WPME=";
18 };
19
20 nativeCheckInputs = [ pytestCheckHook ];
21
22 pythonImportsCheck = [ "pkce" ];
23
24 meta = with lib; {
25 description = "Python module to work with PKCE";
26 homepage = "https://github.com/RomeoDespres/pkce";
27 license = with licenses; [ mit ];
28 maintainers = with maintainers; [ fab ];
29 };
30}