2019-03-16 10:02:11 +01:00
|
|
|
{ lib, python3, glibcLocales }:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "csvkit";
|
2019-04-14 14:38:44 +02:00
|
|
|
version = "1.0.4";
|
2019-03-16 10:02:11 +01:00
|
|
|
|
|
|
|
src = python3.pkgs.fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-14 14:38:44 +02:00
|
|
|
sha256 = "1830lb95rh1iyi3drlwxzb6y3pqkii0qiyzd40c1kvhvaf1s6lqk";
|
2019-03-16 10:02:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
agate agate-excel agate-dbf agate-sql six
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = with python3.pkgs; [
|
|
|
|
glibcLocales nose
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
LC_ALL="en_US.UTF-8" nosetests -e test_csvsql
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A suite of command-line tools for converting to and working with CSV";
|
|
|
|
maintainers = with maintainers; [ vrthra ];
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = https://github.com/wireservice/csvkit;
|
|
|
|
};
|
|
|
|
}
|