python3Packages.chat-downloader: migrate to pyproject (#529046)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
requests,
|
||||
isodate,
|
||||
docstring-parser,
|
||||
@@ -10,17 +11,21 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "chat-downloader";
|
||||
version = "0.2.8";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
inherit (finalAttrs) version pname;
|
||||
hash = "sha256-WBasBhefgRkOdMdz2K/agvS+cY6m3/33wiu+Jl4d1Cg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
isodate
|
||||
docstring-parser
|
||||
@@ -39,8 +44,8 @@ buildPythonPackage rec {
|
||||
description = "Simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts";
|
||||
mainProgram = "chat_downloader";
|
||||
homepage = "https://github.com/xenova/chat-downloader";
|
||||
changelog = "https://github.com/xenova/chat-downloader/releases/tag/v${version}";
|
||||
changelog = "https://github.com/xenova/chat-downloader/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user