python312Packages.towncrier: refactor

This commit is contained in:
Fabian Affolter 2024-08-24 09:30:32 +02:00 committed by GitHub
parent 37cf177ff9
commit c6c45cd037
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,14 +27,9 @@ buildPythonPackage rec {
hash = "sha256-ATQj7n7tECsvOTwofSLZX2bxo+oQpLqoLSmAAafxivM=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "hatchling ~= 1.17.1" "hatchling"
'';
build-system = [ hatchling ];
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs =
dependencies =
[
click
incremental
@ -58,10 +53,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Utility to produce useful, summarised news files";
mainProgram = "towncrier";
homepage = "https://github.com/twisted/towncrier/";
changelog = "https://github.com/twisted/towncrier/blob/${version}/NEWS.rst";
license = licenses.mit;
maintainers = [ ];
mainProgram = "towncrier";
};
}