Merge pull request #148579 from marsam/update-ytcc

This commit is contained in:
Sandro 2021-12-05 06:05:06 +01:00 committed by GitHub
commit d23bfbf9c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,27 +2,20 @@
python3Packages.buildPythonApplication rec {
pname = "ytcc";
version = "2.5.3";
version = "2.5.4";
src = fetchFromGitHub {
owner = "woefe";
repo = "ytcc";
rev = "v${version}";
sha256 = "1skhg8ca2bjjfi02pjsi3w7v3f4xhzg7bqyy0cajxsymzqzqp7lm";
sha256 = "sha256-nYHfmksZnIZGMSSFDhW7ajvv1F5h3aJo8IXw6yYOEw0=";
};
postPatch = ''
substituteInPlace setup.py --replace "youtube_dl" "yt_dlp"
'';
nativeBuildInputs = [ gettext installShellFiles ];
propagatedBuildInputs = with python3Packages; [
click
feedparser
lxml
sqlalchemy
yt-dlp
click
wcwidth
];