snac2: 2.68 -> 2.70 (#379043)
[NixPkgs.git] / pkgs / development / python-modules / stups-tokens / default.nix
blob3d9c4cd07735e24f5ca444ad23500c34c9e85d8c
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   setuptools,
6   requests,
7   mock,
8   pytestCheckHook,
9   isPy3k,
12 buildPythonPackage rec {
13   pname = "stups-tokens";
14   version = "1.1.19";
15   pyproject = true;
16   disabled = !isPy3k;
18   src = fetchFromGitHub {
19     owner = "zalando-stups";
20     repo = "python-tokens";
21     rev = version;
22     sha256 = "09z3l3xzdlwpivbi141gk1k0zd9m75mjwbdy81zc386rr9k8s0im";
23   };
25   build-system = [ setuptools ];
27   dependencies = [ requests ];
29   nativeCheckInputs = [
30     mock
31     pytestCheckHook
32   ];
34   meta = with lib; {
35     description = "Python library that keeps OAuth 2.0 service access tokens in memory for your usage";
36     homepage = "https://github.com/zalando-stups/python-tokens";
37     license = licenses.asl20;
38     maintainers = [ maintainers.mschuwalow ];
39   };