at 24.05-pre 594 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "pkce"; 9 version = "1.0.3"; 10 11 src = fetchFromGitHub { 12 owner = "RomeoDespres"; 13 repo = pname; 14 rev = version; 15 hash = "sha256-dOHCu0pDXk9LM4Yobaz8GAfVpBd8rXlty+Wfhx+WPME="; 16 }; 17 18 nativeCheckInputs = [ pytestCheckHook ]; 19 20 pythonImportsCheck = [ "pkce" ]; 21 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 }; 28}