Unverified Commit b940eff6 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #225307 from mweinelt/clevercsv-0.8.0

python310Packages.clevercsv: 0.7.6 -> 0.8.0
parents 5279d03b b87655eb
Loading
Loading
Loading
Loading
+22 −7
Original line number Diff line number Diff line
{ 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
    regex
    packaging
  ];

  passthru.optional-dependencies = {
    full = [
      faust-cchardet
      pandas
    regex
      tabview
      # TODO: wilderness
    ];
  };

  nativeCheckInputs = [
    pytestCheckHook
  ];
  ] ++ passthru.optional-dependencies.full;

  pythonImportsCheck = [
    "clevercsv"
+2 −0
Original line number Diff line number Diff line
@@ -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 = [