python3Packages.clevercsv: 0.7.4 -> 0.7.5

https://github.com/alan-turing-institute/CleverCSV/blob/v0.7.5/CHANGELOG.md
This commit is contained in:
Martin Weinelt 2023-01-14 04:55:09 +01:00
parent 374d7413a3
commit 2b78639484
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,7 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, cchardet , cchardet
, chardet , chardet
, pandas , pandas
@ -13,24 +12,20 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "clevercsv"; pname = "clevercsv";
version = "0.7.4"; version = "0.7.5";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alan-turing-institute"; owner = "alan-turing-institute";
repo = "CleverCSV"; repo = "CleverCSV";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-2OLvVJbqV/wR+Quq0cAlR/vCUe1/Km/nALwfoHD9B+U="; hash = "sha256-zpnUw0ThYbbYS7CYgsi0ZL1qxbY4B1cy2NhrUU9uzig=";
}; };
patches = [ postPatch = ''
(fetchpatch { substituteInPlace setup.py \
# Fixes compat with setuptools>=65.6.0 --replace "packaging>=23.0" "packaging"
# https://github.com/alan-turing-institute/CleverCSV/issues/77 '';
url = "https://github.com/alan-turing-institute/CleverCSV/commit/0614fe16fa0e8e08c4c916efc956209fe2aa8ce6.patch";
hash = "sha256-ZL0cc5Si8ga6kd3JhfaIUOWXdnEgep9tvHBVpXjsI+w=";
})
];
propagatedBuildInputs = [ propagatedBuildInputs = [
cchardet cchardet