blob: d559f120491511ad3c1036961f5424a54260a974 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{ lib
, python3
, fetchPypi
}:
let
python = python3.override {
packageOverrides = self: super: {
sqlalchemy = super.sqlalchemy_1_4;
};
};
in
python.pkgs.buildPythonApplication rec {
pname = "csvkit";
version = "1.1.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-vt23t49rIq2+1urVrV3kv7Md0sVfMhGyorO2VSkEkiM=";
};
propagatedBuildInputs = with python.pkgs; [
agate
agate-excel
agate-dbf
agate-sql
setuptools # csvsql imports pkg_resources
];
nativeCheckInputs = with python.pkgs; [
pytestCheckHook
];
pythonImportsCheck = [
"csvkit"
];
disabledTests = [
# Test is comparing CLI output
"test_decimal_format"
];
meta = with lib; {
changelog = "https://github.com/wireservice/csvkit/blob/${version}/CHANGELOG.rst";
description = "A suite of command-line tools for converting to and working with CSV";
homepage = "https://github.com/wireservice/csvkit";
license = licenses.mit;
maintainers = with maintainers; [ vrthra ];
};
}
|