From b3baaea87dce32977a775cf78c2f0c052ef9b04f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 5 Aug 2025 04:36:51 +0200 Subject: [PATCH] python3Packages.cons: 0.4.6 -> 0.4.7 https://github.com/pythological/python-cons/releases/tag/v0.4.7 This commit was automatically generated using update-python-libraries. --- .../python-modules/cons/default.nix | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/cons/default.nix b/pkgs/development/python-modules/cons/default.nix index 2bf66255fd27..14c4c08d0b13 100644 --- a/pkgs/development/python-modules/cons/default.nix +++ b/pkgs/development/python-modules/cons/default.nix @@ -6,24 +6,28 @@ py, pytestCheckHook, pytest-html, - pythonOlder, + setuptools, + setuptools-scm, }: buildPythonPackage rec { pname = "cons"; - version = "0.4.6"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + version = "0.4.7"; + pyproject = true; src = fetchFromGitHub { owner = "pythological"; repo = "python-cons"; tag = "v${version}"; - hash = "sha256-XssERKiv4A8x7dZhLeFSciN6RCEfGs0or3PAQiYSPII="; + hash = "sha256-BS7lThnv+dxtztvw2aRhQa8yx2cRfrZLiXjcwvZ8QR0="; }; - propagatedBuildInputs = [ logical-unification ]; + build-system = [ + setuptools + setuptools-scm + ]; + + dependencies = [ logical-unification ]; nativeCheckInputs = [ py @@ -41,7 +45,7 @@ buildPythonPackage rec { meta = with lib; { description = "Implementation of Lisp/Scheme-like cons in Python"; homepage = "https://github.com/pythological/python-cons"; - changelog = "https://github.com/pythological/python-cons/releases/tag/v${version}"; + changelog = "https://github.com/pythological/python-cons/releases/tag/${src.tag}"; license = licenses.gpl3Only; maintainers = with maintainers; [ Etjean ]; };