diff options
Diffstat (limited to 'pkgs/development/python-modules/towncrier/default.nix')
-rw-r--r-- | pkgs/development/python-modules/towncrier/default.nix | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/towncrier/default.nix b/pkgs/development/python-modules/towncrier/default.nix index 7b7ab11079a30..7be96c79a0e9f 100644 --- a/pkgs/development/python-modules/towncrier/default.nix +++ b/pkgs/development/python-modules/towncrier/default.nix @@ -1,4 +1,7 @@ -{ lib, buildPythonPackage, fetchPypi, isPy27 +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder , click , click-default-group , incremental @@ -13,11 +16,14 @@ buildPythonPackage rec { pname = "towncrier"; - version = "22.8.0"; + version = "22.12.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-fTg5sDOFm0X7Vd+Ct0z9cCQxkzwMyfKHpafqPgXQQss="; + hash = "sha256-nEnX519kaprqAq6QTAvBY5yP0UoBKS0rEjuNMHVkA00="; }; propagatedBuildInputs = [ @@ -29,9 +35,6 @@ buildPythonPackage rec { setuptools ]; - # zope.interface collision - doCheck = !isPy27; - preCheck = '' export PATH=$out/bin:$PATH ''; @@ -43,12 +46,15 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "towncrier" ]; + pythonImportsCheck = [ + "towncrier" + ]; meta = with lib; { description = "Utility to produce useful, summarised news files"; homepage = "https://github.com/twisted/towncrier/"; + changelog = "https://github.com/twisted/towncrier/blob/${version}/NEWS.rst"; license = licenses.mit; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ ]; }; } |