diff --git a/pkgs/development/python-modules/isal/default.nix b/pkgs/development/python-modules/isal/default.nix index bd3f11ac014b..d1344d106f54 100644 --- a/pkgs/development/python-modules/isal/default.nix +++ b/pkgs/development/python-modules/isal/default.nix @@ -2,11 +2,10 @@ lib, buildPythonPackage, fetchFromGitHub, - replaceVars, # build-system setuptools, - versioningit, + setuptools-scm, # native dependencies isa-l, @@ -18,25 +17,19 @@ buildPythonPackage rec { pname = "isal"; - version = "1.7.2"; + version = "1.8.0"; pyproject = true; src = fetchFromGitHub { owner = "pycompression"; repo = "python-isal"; - rev = "v${version}"; - hash = "sha256-gvUVSGarPA4KupQTd61x75CfqNVqZfFC1zq0R21Clf8="; + tag = "v${version}"; + hash = "sha256-703uXty3a0N+yXfv/7nVIAnU7PaqMtNO0ScltNLJq3g="; }; - patches = [ - (replaceVars ./version.patch { - inherit version; - }) - ]; - build-system = [ setuptools - versioningit + setuptools-scm ]; buildInputs = [ isa-l ]; diff --git a/pkgs/development/python-modules/isal/version.patch b/pkgs/development/python-modules/isal/version.patch deleted file mode 100644 index 9a8500a12d46..000000000000 --- a/pkgs/development/python-modules/isal/version.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index bf5fe99..b559255 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -2,9 +2,8 @@ - requires = ["setuptools>=64", "versioningit>=1.1.0"] - build-backend = "setuptools.build_meta" - --[tool.versioningit.vcs] --method="git" --default-tag = "v0.0.0" -+[tool.versioningit] -+default-version = "@version@" - - [tool.versioningit.write] - file = "src/isal/_version.py"