summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/glados/deps/gtts-token.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-09-02 13:57:06 +0200
committermakefu <github@syntax-fehler.de>2019-09-02 13:57:06 +0200
commite4c836b9c4901f99fe870dae8c338dbe648494ac (patch)
tree926dbeffadcf1aab6dc69cfb84c5efa4d79ff941 /krebs/2configs/shack/glados/deps/gtts-token.nix
parent86592a723309d45dc09ff90872c0ee4aa7e52dc0 (diff)
shack/glados: init home-assistant config
Diffstat (limited to 'krebs/2configs/shack/glados/deps/gtts-token.nix')
-rw-r--r--krebs/2configs/shack/glados/deps/gtts-token.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/krebs/2configs/shack/glados/deps/gtts-token.nix b/krebs/2configs/shack/glados/deps/gtts-token.nix
new file mode 100644
index 000000000..69640f03d
--- /dev/null
+++ b/krebs/2configs/shack/glados/deps/gtts-token.nix
@@ -0,0 +1,27 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, requests
+}:
+
+buildPythonPackage rec {
+ pname = "gtts-token";
+ version = "1.1.3";
+
+ src = fetchPypi {
+ pname = "gTTS-token";
+ inherit version;
+ sha256 = "9d6819a85b813f235397ef931ad4b680f03d843c9b2a9e74dd95175a4bc012c5";
+ };
+
+ propagatedBuildInputs = [
+ requests
+ ];
+
+ 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. ];
+ };
+}