Merge pull request #129470 from j0hax/ytmdl-patch

ytmdl: patch bug
This commit is contained in:
Sandro 2021-07-07 02:55:24 +02:00 committed by GitHub
commit 5c2c709d9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib
, fetchFromGitHub
, python3
, fetchpatch
, ffmpeg
}:
@ -15,6 +16,16 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "1jpd5zhqg2m9vjjjw4mgzb594q1v1pq1yl65py6kw42bq9w5yl5p";
};
patches = [
# Fixes https://github.com/deepjyoti30/ytmdl/issues/188
# Only needed until the next major release after 2021.06.26
(fetchpatch {
url = "https://github.com/deepjyoti30/ytmdl/commit/37ba821d9692249c1fa563505cf60bd11b8e209e.patch";
includes = [ "bin/ytmdl" ];
sha256 = "sha256-VqtthpUL0Oub3DK7tSvAnemOzPPTcLvXXeebZIGOgdc=";
})
];
postPatch = ''
substituteInPlace setup.py \
--replace "bs4" "beautifulsoup4"