nixpkgs/pkgs/development/python-modules/pkce/default.nix

29 lines
591 B
Nix
Raw Normal View History

2021-02-07 11:44:58 +00:00
{ 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 ];
};
}