diff --git a/pkgs/development/python-modules/pkce/default.nix b/pkgs/development/python-modules/pkce/default.nix new file mode 100644 index 000000000000..4343899e040c --- /dev/null +++ b/pkgs/development/python-modules/pkce/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "pkce"; + version = "1.0.2"; + + src = fetchFromGitHub { + owner = "RomeoDespres"; + repo = pname; + rev = version; + sha256 = "15fzpp3b5qmj27hpgnwkzjwllgwwdfccizz8ydmliakm2hdr1xpn"; + }; + + checkInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "pkce" ]; + + meta = with lib; { + description = "Python module to work with PKCE"; + homepage = "https://github.com/RomeoDespres/pkce"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9dd34edd4ae7..9e9e5821f297 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4892,6 +4892,8 @@ in { pixelmatch = callPackage ../development/python-modules/pixelmatch { }; + pkce = callPackage ../development/python-modules/pkce { }; + pkgconfig = callPackage ../development/python-modules/pkgconfig { inherit (pkgs) pkg-config; }; pkginfo = callPackage ../development/python-modules/pkginfo { };