Merge pull request #108412 from ryneeverett/tartube-2.3.042

tartube: 2.1.0 -> 2.3.042
This commit is contained in:
Sandro 2021-01-05 21:47:43 +01:00 committed by GitHub
commit 2fb357b692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = ''