Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pkce / default.nix
blob5dc77a2661badf06fe9313cc0ce4481dd3e5e2c7
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "pkce";
9   version = "1.0.3";
11   src = fetchFromGitHub {
12     owner = "RomeoDespres";
13     repo = pname;
14     rev = version;
15     sha256 = "sha256-dOHCu0pDXk9LM4Yobaz8GAfVpBd8rXlty+Wfhx+WPME=";
16   };
18   checkInputs = [ pytestCheckHook ];
20   pythonImportsCheck = [ "pkce" ];
22   meta = with lib; {
23     description = "Python module to work with PKCE";
24     homepage = "https://github.com/RomeoDespres/pkce";
25     license = with licenses; [ mit ];
26     maintainers = with maintainers; [ fab ];
27   };