diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-01-14 04:55:09 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-01-14 04:55:22 +0100 |
commit | 2b78639484d824eb61aaaeb9999f250e75247921 (patch) | |
tree | 15820fe663d33f6170e0e46341a0d314ab0ab9ab /pkgs/development/python-modules/clevercsv | |
parent | 374d7413a36a143d3635b997be14e2b3f12e4031 (diff) |
python3Packages.clevercsv: 0.7.4 -> 0.7.5
https://github.com/alan-turing-institute/CleverCSV/blob/v0.7.5/CHANGELOG.md
Diffstat (limited to 'pkgs/development/python-modules/clevercsv')
-rw-r--r-- | pkgs/development/python-modules/clevercsv/default.nix | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/clevercsv/default.nix b/pkgs/development/python-modules/clevercsv/default.nix index 0760fb36c6fbe..823ecb87c3054 100644 --- a/pkgs/development/python-modules/clevercsv/default.nix +++ b/pkgs/development/python-modules/clevercsv/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchFromGitHub -, fetchpatch , cchardet , chardet , pandas @@ -13,24 +12,20 @@ buildPythonPackage rec { pname = "clevercsv"; - version = "0.7.4"; + version = "0.7.5"; format = "setuptools"; src = fetchFromGitHub { owner = "alan-turing-institute"; repo = "CleverCSV"; rev = "refs/tags/v${version}"; - hash = "sha256-2OLvVJbqV/wR+Quq0cAlR/vCUe1/Km/nALwfoHD9B+U="; + hash = "sha256-zpnUw0ThYbbYS7CYgsi0ZL1qxbY4B1cy2NhrUU9uzig="; }; - patches = [ - (fetchpatch { - # Fixes compat with setuptools>=65.6.0 - # https://github.com/alan-turing-institute/CleverCSV/issues/77 - url = "https://github.com/alan-turing-institute/CleverCSV/commit/0614fe16fa0e8e08c4c916efc956209fe2aa8ce6.patch"; - hash = "sha256-ZL0cc5Si8ga6kd3JhfaIUOWXdnEgep9tvHBVpXjsI+w="; - }) - ]; + postPatch = '' + substituteInPlace setup.py \ + --replace "packaging>=23.0" "packaging" + ''; propagatedBuildInputs = [ cchardet |