4d5a95770c
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
42 lines
905 B
Nix
42 lines
905 B
Nix
{ lib
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "csvkit";
|
|
version = "1.1.1";
|
|
format = "setuptools";
|
|
|
|
src = python3.pkgs.fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-vt23t49rIq2+1urVrV3kv7Md0sVfMhGyorO2VSkEkiM=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
agate
|
|
agate-excel
|
|
agate-dbf
|
|
agate-sql
|
|
];
|
|
|
|
nativeCheckInputs = with python3.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 ];
|
|
};
|
|
}
|