Merge pull request #208966 from marsam/update-tubeup

python310Packages.tubeup: 0.0.34 -> 0.0.35
This commit is contained in:
Fabian Affolter 2023-01-04 22:13:06 +01:00 committed by GitHub
commit 4cfc01b10f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,29 +4,39 @@
, fetchPypi
, yt-dlp
, docopt
, isPy27
, pythonOlder
, urllib3
}:
buildPythonPackage rec {
pname = "tubeup";
version = "0.0.34";
version = "0.0.35";
format = "setuptools";
disabled = isPy27;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "ae1e606b243fd70742f8b5871c497628d258ee9f416caa46544aca9a5fbfbca0";
sha256 = "006aea68bb8d967a7427c58ee7862e3f2481dae667c2bbcfb1a1f2fd80e665d1";
};
postPatch = ''
substituteInPlace setup.py \
--replace "internetarchive==3.0.2" "internetarchive" \
--replace "urllib3==1.26.13" "urllib3" \
--replace "docopt==0.6.2" "docopt"
'';
propagatedBuildInputs = [ internetarchive docopt yt-dlp ];
propagatedBuildInputs = [
internetarchive
docopt
urllib3
yt-dlp
];
pythonImportsCheck = [ "tubeup" ];
pythonImportsCheck = [
"tubeup"
];
# Tests failing upstream
doCheck = false;
@ -34,7 +44,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Youtube (and other video site) to Internet Archive Uploader";
homepage = "https://github.com/bibanon/tubeup";
changelog = "https://github.com/bibanon/tubeup/releases/tag/${version}";
license = licenses.gpl3Only;
maintainers = [ maintainers.marsam ];
maintainers = with maintainers; [ marsam ];
};
}