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 ]; + + +}