Merge pull request #225307 from mweinelt/clevercsv-0.8.0

python310Packages.clevercsv: 0.7.6 -> 0.8.0
This commit is contained in:
Martin Weinelt
2023-04-08 18:48:01 +02:00
committed by GitHub
2 changed files with 24 additions and 7 deletions
@@ -1,38 +1,53 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# propagates
, chardet
, regex
, packaging
# optionals
, faust-cchardet
, pandas
, regex
, tabview
# TODO: , wilderness
# tests
, python
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "clevercsv";
version = "0.7.6";
version = "0.8.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "alan-turing-institute";
repo = "CleverCSV";
rev = "refs/tags/v${version}";
hash = "sha256-mdsznhxTykEGZAFvTRZTCM11fR4tkwfpa95k7udE33c=";
hash = "sha256-/JveB6fpIJvR5byGcmO9XBuCbUw7yNTpSoDs68Wffmo=";
};
propagatedBuildInputs = [
chardet
faust-cchardet
pandas
regex
tabview
packaging
];
passthru.optional-dependencies = {
full = [
faust-cchardet
pandas
tabview
# TODO: wilderness
];
};
nativeCheckInputs = [
pytestCheckHook
];
] ++ passthru.optional-dependencies.full;
pythonImportsCheck = [
"clevercsv"
@@ -8,6 +8,7 @@
, jsonpickle
, numpy
, pytestCheckHook
, python-dateutil
, pyyaml
, toml
, pythonOlder
@@ -50,6 +51,7 @@ buildPythonPackage rec {
jsonpickle
numpy
pytestCheckHook
python-dateutil
] ++ passthru.optional-dependencies.cli;
pythonImportsCheck = [