stups-tokens: init at 1.1.19
This commit is contained in:
parent
9c951c80a6
commit
518e8d4cfc
2 changed files with 41 additions and 0 deletions
39
pkgs/development/python-modules/stups-tokens/default.nix
Normal file
39
pkgs/development/python-modules/stups-tokens/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, requests
|
||||
, mock
|
||||
, pytest
|
||||
, pytestcov
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stups-tokens";
|
||||
version = "1.1.19";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zalando-stups";
|
||||
repo = "python-tokens";
|
||||
rev = version;
|
||||
sha256 = "09z3l3xzdlwpivbi141gk1k0zd9m75mjwbdy81zc386rr9k8s0im";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytest
|
||||
pytestcov
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python library that keeps OAuth 2.0 service access tokens in memory for your usage.";
|
||||
homepage = "https://github.com/zalando-stups/python-tokens";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.mschuwalow ];
|
||||
};
|
||||
}
|
|
@ -1323,6 +1323,8 @@ in {
|
|||
|
||||
stups-cli-support = callPackage ../development/python-modules/stups-cli-support { };
|
||||
|
||||
stups-tokens = callPackage ../development/python-modules/stups-tokens { };
|
||||
|
||||
sumo = callPackage ../development/python-modules/sumo { };
|
||||
|
||||
supervise_api = callPackage ../development/python-modules/supervise_api { };
|
||||
|
|
Loading…
Reference in a new issue