From 9d50bfa569e072001a97d22e6c4375b264e5cff7 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 4 Jul 2019 11:15:01 +0200 Subject: ma bureautomation: move deps --- makefu/2configs/bureautomation/deps/gtts-token.nix | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 makefu/2configs/bureautomation/deps/gtts-token.nix (limited to 'makefu/2configs/bureautomation/deps/gtts-token.nix') diff --git a/makefu/2configs/bureautomation/deps/gtts-token.nix b/makefu/2configs/bureautomation/deps/gtts-token.nix new file mode 100644 index 00000000..69640f03 --- /dev/null +++ b/makefu/2configs/bureautomation/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. ]; + }; +} -- cgit v1.2.3