mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
43 lines
905 B
Nix
43 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 ];
|
|
};
|
|
}
|