python3Packages.token-bucket: init at 0.2.0
This commit is contained in:
parent
fc9a86afb0
commit
217b14cb2f
2 changed files with 36 additions and 0 deletions
34
pkgs/development/python-modules/token-bucket/default.nix
Normal file
34
pkgs/development/python-modules/token-bucket/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestrunner
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "token-bucket";
|
||||
version = "0.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "falconry";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0kv8j2ab4knvzik2di66bgjwjxdslm2i0hjy35kn9z0dazni585s";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pytestrunner
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Token Bucket Implementation for Python Web Apps";
|
||||
homepage = "https://github.com/falconry/token-bucket";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -8267,6 +8267,8 @@ in {
|
|||
|
||||
toggl-cli = callPackage ../development/python-modules/toggl-cli { };
|
||||
|
||||
token-bucket = callPackage ../development/python-modules/token-bucket { };
|
||||
|
||||
tokenizers = toPythonModule (callPackage ../development/python-modules/tokenizers { });
|
||||
|
||||
tokenize-rt = toPythonModule (callPackage ../development/python-modules/tokenize-rt { });
|
||||
|
|
Loading…
Reference in a new issue