diff --git a/pkgs/development/python-modules/cons/default.nix b/pkgs/development/python-modules/cons/default.nix index 2f352aebd18b..d08f5deb3c96 100644 --- a/pkgs/development/python-modules/cons/default.nix +++ b/pkgs/development/python-modules/cons/default.nix @@ -5,17 +5,21 @@ , py , pytestCheckHook , pytest-html +, pythonOlder }: buildPythonPackage rec { pname = "cons"; - version = "0.4.5"; + version = "0.4.6"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "pythological"; repo = "python-cons"; - rev = "fbeedfc8a3d1bff4ba179d492155cdd55538365e"; - hash = "sha256-ivHFep9iYPvyiBIZKMAzqrLGnQkeuxd0meYMZwZFFH0="; + rev = "refs/tags/v${version}"; + hash = "sha256-XssERKiv4A8x7dZhLeFSciN6RCEfGs0or3PAQiYSPII="; }; propagatedBuildInputs = [ @@ -38,7 +42,7 @@ buildPythonPackage rec { meta = with lib; { description = "An implementation of Lisp/Scheme-like cons in Python"; homepage = "https://github.com/pythological/python-cons"; - changelog = "https://github.com/pythological/python-cons/releases"; + changelog = "https://github.com/pythological/python-cons/releases/tag/v${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ Etjean ]; };