Skip to content

Commit

Permalink
python.pkgs.gtts-token: init at 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
makefu authored and FRidh committed Jun 23, 2019
1 parent d27c1f6 commit 536abf3
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/gtts-token/default.nix
@@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:

buildPythonPackage rec {
pname = "gtts-token";
version = "1.1.3";

src = fetchPypi {
pname = "gTTS-token";
inherit version;
sha256 = "9d6819a85b813f235397ef931ad4b680f03d843c9b2a9e74dd95175a4bc012c5";
};

propagatedBuildInputs = [
requests
];

# Tests only in github repo, require working internet connection
doCheck = false;

meta = with lib; {
description = "Calculates a token to run the Google Translate text to speech";
homepage = https://github.com/boudewijn26/gTTS-token;
license = licenses.mit;
maintainers = [ maintainers.makefu ];
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -3002,6 +3002,8 @@ in {

gspread = callPackage ../development/python-modules/gspread { };

gtts-token = callPackage ../development/python-modules/gtts-token { };

gym = callPackage ../development/python-modules/gym { };

gyp = callPackage ../development/python-modules/gyp { };
Expand Down

0 comments on commit 536abf3

Please sign in to comment.