3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/stups-tokens/default.nix

40 lines
751 B
Nix
Raw Normal View History

2019-11-13 02:02:19 +00:00
{ 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 ];
};
}