summaryrefslogtreecommitdiff
path: root/pkgs/oauth2token.nix
blob: f9d95447bc9e09a87d5eb9a9b2c4f68278ef5cdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pyxdg,
  google-auth-oauthlib,
  setuptools
}:

buildPythonPackage rec {
  pname = "oauth2token";
  version = "0.0.3";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-3wJHPYP74rTdqAfVKZ7LrzwP4tCeV+VRasoqs1uw/vg=";
  };

  pyproject = true;

  build-system = [ setuptools ];

  propagatedBuildInputs = [
    pyxdg
    google-auth-oauthlib
  ];

  meta = with lib; {
    description = "Simple cli tools to create and use oauth2token";
    homepage = "https://github.com/VannTen/oauth2token";
    license = licenses.gpl3;
    maintainers = [];
  };
}