summaryrefslogtreecommitdiff
path: root/pkgs/oauth2token.nix
blob: 791de4f59ad60e924f0c6cb163888b6ad4ac7148 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pyxdg,
  google-auth-oauthlib,
}:

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

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

  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 = [];
  };
}