diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-12-02 18:47:27 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-12-20 20:16:39 +0100 |
commit | 8056f9250ce8b7f9bdf0ccdc6c7a6808ae8f1be9 (patch) | |
tree | f124065087303348bba0e74a48897e2b1ae12485 /pkgs/development/python-modules/pysmart | |
parent | 32a6949d54134bdda5ed279c914fbc6f79fdc84d (diff) |
treewide: remove redundant SETUPTOOLS_SCM_PRETEND_VERSION usage
The setuptools-scm packages gained a setup hook, that sets it to the derivation version automatically, so setting it to that manually has become redundant. This also affects downstream consumers of setuptools-scm, like hatch-vcs or flit-scm.
Diffstat (limited to 'pkgs/development/python-modules/pysmart')
-rw-r--r-- | pkgs/development/python-modules/pysmart/default.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pysmart/default.nix b/pkgs/development/python-modules/pysmart/default.nix index 3edc3b57cc4de..42854750bbbbf 100644 --- a/pkgs/development/python-modules/pysmart/default.nix +++ b/pkgs/development/python-modules/pysmart/default.nix @@ -23,8 +23,6 @@ buildPythonPackage rec { hash = "sha256-1k+5XnIT/AfZmzKUxkyU/uc0eW05CvugpY6OdJCoALc="; }; - SETUPTOOLS_SCM_PRETEND_VERSION = version; - postPatch = '' substituteInPlace pySMART/utils.py \ --replace "which('smartctl')" '"${smartmontools}/bin/smartctl"' |