From 2ec78c4474aa50277447d9cfab1ec363e76b8121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Sat, 11 Apr 2020 22:45:57 +0200 Subject: [PATCH] start on botamusiqe --- default.nix | 3 +++ pkgs/botamusique/default.nix | 31 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/botamusique/default.nix diff --git a/default.nix b/default.nix index 7552414..2c5171b 100644 --- a/default.nix +++ b/default.nix @@ -26,5 +26,8 @@ photini = pkgs.libsForQt5.callPackage ./pkgs/photini { }; mangohud = pkgs.callPackage ./pkgs/MangoHUD { }; + + botamusique = pkgs.callPackage ./pkgs/botamusique {}; + } diff --git a/pkgs/botamusique/default.nix b/pkgs/botamusique/default.nix new file mode 100644 index 0000000..11fdf5a --- /dev/null +++ b/pkgs/botamusique/default.nix @@ -0,0 +1,31 @@ +{ fetchFromGitHub, python3, python3Packages, ffmpeg, opusTools }: + +let + pythonEnv = python3.withPackages (pythonPackages: with pythonPackages; [ + opuslib + protobuf + flask + youtube-dl + magic + pillow + mutagen + requests + packaging + ]); +in + +python3Packages.buildPythonApplication rec { + pname = "botamusique"; + version = "6.1.1"; + + src = fetchFromGitHub { + owner = "azlux"; + repo = "botamusique"; + rev = "${version}"; + sha256 = "08gb11ldclg22wn3pa808vw742pvx8rv2w0frmllghsvh63w04ma"; + }; + + buildInputs = [ ffmpeg opusTools ]; + + +}