diff --git a/pkgs/development/python-modules/etuples/default.nix b/pkgs/development/python-modules/etuples/default.nix index 855e42fa6e86..cbdcba528193 100644 --- a/pkgs/development/python-modules/etuples/default.nix +++ b/pkgs/development/python-modules/etuples/default.nix @@ -7,24 +7,28 @@ py, pytestCheckHook, pytest-html, - pythonOlder, + setuptools, + setuptools-scm, }: buildPythonPackage rec { pname = "etuples"; - version = "0.3.9"; - format = "setuptools"; - - disabled = pythonOlder "3.8"; + version = "0.3.10"; + pyproject = true; src = fetchFromGitHub { owner = "pythological"; repo = "etuples"; tag = "v${version}"; - hash = "sha256-dl+exar98PnqEiCNX+Ydllp7aohsAYrFtxb2Q1Lxx6Y="; + hash = "sha256-h5MLj1z3qZiUXcNIDtUIbV5zeyTzxerbSezFD5Q27n0="; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + setuptools-scm + ]; + + dependencies = [ cons multipledispatch ]; @@ -45,7 +49,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python S-expression emulation using tuple-like objects"; homepage = "https://github.com/pythological/etuples"; - changelog = "https://github.com/pythological/etuples/releases/tag/v${version}"; + changelog = "https://github.com/pythological/etuples/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ Etjean ]; };