python312Packages.towncrier: refactor
This commit is contained in:
parent
37cf177ff9
commit
c6c45cd037
@ -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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user