2020-04-11 22:45:57 +02:00
|
|
|
{ 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";
|
2020-04-14 12:24:19 +02:00
|
|
|
fetchSubmodules = true;
|
2020-04-11 22:45:57 +02:00
|
|
|
rev = "${version}";
|
2020-04-14 12:24:19 +02:00
|
|
|
sha256 = "0fmdxi8fsi3qqx9f8sjlnml656l46dx93l7amhhp6zvpnmr6fl1n";
|
2020-04-11 22:45:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ffmpeg opusTools ];
|
|
|
|
|
2020-04-14 12:24:19 +02:00
|
|
|
meta = {
|
|
|
|
broken = true;
|
|
|
|
};
|
|
|
|
|
2020-04-11 22:45:57 +02:00
|
|
|
|
|
|
|
}
|