tartube: 2.1.0 -> 2.3.042

- Add new ffmpeg dependency.
- Update patch since gi was renamed pgi.
This commit is contained in:
ryneeverett 2021-01-04 17:47:43 +00:00
parent 3b57908018
commit 905e3baa7e

View File

@ -10,17 +10,18 @@
, wrapGAppsHook
, youtube-dl
, glib
, ffmpeg
}:
python3Packages.buildPythonApplication rec {
pname = "tartube";
version = "2.1.0";
version = "2.3.042";
src = fetchFromGitHub {
owner = "axcore";
repo = "tartube";
rev = "v${version}";
sha256 = "1klqjwqm29y2f6nc8gn222ykfvb5d64z1w2kifw9bq5bv0np9bda";
sha256 = "117q4s2b2js3204506qv3kjcsy3amcf0mpwj6q0ixs1256ilkxwj";
};
nativeBuildInputs = [
@ -37,6 +38,7 @@ python3Packages.buildPythonApplication rec {
requests
feedparser
playsound
ffmpeg
];
buildInputs = [
@ -48,7 +50,7 @@ python3Packages.buildPythonApplication rec {
];
postPatch = ''
sed -i "/^\s*install_requires/s/, 'gi'\|'gi', \|'gi'//" setup.py
sed -i "/^\s*install_requires/s/, 'pgi'\|'pgi', \|'pgi'//" setup.py
'';
postInstall = ''