diff options
author | Maxim Schuwalow <maxim.schuwalow@zalando.de> | 2019-11-13 03:02:19 +0100 |
---|---|---|
committer | Lassulus <github@lassul.us> | 2019-12-08 15:51:23 +0100 |
commit | 518e8d4cfc10511b9a9f6ae5cb5e09c1ad0af81b (patch) | |
tree | 40ca2f183a80518e20c07be686680061ac1a7518 /pkgs/development/python-modules/stups-tokens | |
parent | 9c951c80a6bd3a658eb32639e20ef76c792f0405 (diff) | |
download | nixpkgs-518e8d4cfc10511b9a9f6ae5cb5e09c1ad0af81b.tar nixpkgs-518e8d4cfc10511b9a9f6ae5cb5e09c1ad0af81b.tar.gz nixpkgs-518e8d4cfc10511b9a9f6ae5cb5e09c1ad0af81b.tar.bz2 nixpkgs-518e8d4cfc10511b9a9f6ae5cb5e09c1ad0af81b.tar.lz nixpkgs-518e8d4cfc10511b9a9f6ae5cb5e09c1ad0af81b.tar.xz nixpkgs-518e8d4cfc10511b9a9f6ae5cb5e09c1ad0af81b.tar.zst nixpkgs-518e8d4cfc10511b9a9f6ae5cb5e09c1ad0af81b.zip |
stups-tokens: init at 1.1.19
Diffstat (limited to 'pkgs/development/python-modules/stups-tokens')
-rw-r--r-- | pkgs/development/python-modules/stups-tokens/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/stups-tokens/default.nix b/pkgs/development/python-modules/stups-tokens/default.nix new file mode 100644 index 00000000000..3e785d8febb --- /dev/null +++ b/pkgs/development/python-modules/stups-tokens/default.nix @@ -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 ]; + }; +} |