diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-11-30 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2022-11-30 04:20:00 +0000 |
commit | 51e1d19e19c9ea0fccc403c01d3f87cc0e926ca6 (patch) | |
tree | 737c92f7f15673bbd71a140cc34f1ba3f3877662 | |
parent | 7998099bcb32a7d84f379f55f5a961b33eba4486 (diff) |
python310Packages.chat-downloader: 0.2.0 -> 0.2.1
https://github.com/xenova/chat-downloader/releases/tag/v0.2.1
-rw-r--r-- | pkgs/development/python-modules/chat-downloader/default.nix | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/chat-downloader/default.nix b/pkgs/development/python-modules/chat-downloader/default.nix index 40aa56d75fac9..39bcd09ef3d4d 100644 --- a/pkgs/development/python-modules/chat-downloader/default.nix +++ b/pkgs/development/python-modules/chat-downloader/default.nix @@ -1,35 +1,24 @@ { lib , buildPythonPackage -, fetchFromGitHub +, fetchPypi , requests , isodate , docstring-parser , colorlog , websocket-client , pytestCheckHook -, fetchpatch }: buildPythonPackage rec { pname = "chat-downloader"; - version = "0.2.0"; + version = "0.2.1"; + format = "setuptools"; - # PyPI tarball is missing files - src = fetchFromGitHub { - owner = "xenova"; - repo = "chat-downloader"; - rev = "v${version}"; - sha256 = "sha256-SVZyDTma6qAgmOz+QsPnudPrX1Eswtc0IKFRx1HnWLY="; + src = fetchPypi { + inherit version pname; + sha256 = "6b6d63124371dc1f89979662209aad11dc9954faf8fadb5fa73bf711ff07800d"; }; - patches = [ - # Remove argparse from dependencies. https://github.com/xenova/chat-downloader/pull/167 - (fetchpatch { - url = "https://github.com/xenova/chat-downloader/commit/cdaca5e3a334c8db1b37bebe191d181ebdfa576c.patch"; - sha256 = "sha256-AgH305dJmNRZy23lAf1h40klDE67RSwEL8o2gxX0VGA="; - }) - ]; - propagatedBuildInputs = [ requests isodate @@ -48,6 +37,7 @@ buildPythonPackage rec { meta = with lib; { description = "A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts"; homepage = "https://github.com/xenova/chat-downloader"; + changelog = "https://github.com/xenova/chat-downloader/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ marsam ]; }; |