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