diff options
Diffstat (limited to 'pkgs/oauth2token.nix')
-rw-r--r-- | pkgs/oauth2token.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/oauth2token.nix b/pkgs/oauth2token.nix new file mode 100644 index 0000000..791de4f --- /dev/null +++ b/pkgs/oauth2token.nix @@ -0,0 +1,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 = []; + }; +} |