ytmdl: patch bug
Update pkgs/tools/misc/ytmdl/default.nix Co-authored-by: Pavol Rusnak <pavol@rusnak.io> Update pkgs/tools/misc/ytmdl/default.nix Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
parent
a9c819f485
commit
2327acd1d0
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python3
|
, python3
|
||||||
|
, fetchpatch
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -15,6 +16,16 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
sha256 = "1jpd5zhqg2m9vjjjw4mgzb594q1v1pq1yl65py6kw42bq9w5yl5p";
|
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 = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "bs4" "beautifulsoup4"
|
--replace "bs4" "beautifulsoup4"
|
||||||
|
|
Loading…
Reference in a new issue