-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
From https://csvkit.readthedocs.io/en/1.0.3/index.html: > csvkit is a suite of *command-line tools* for [...]
- Loading branch information
Robert Schütz
committed
Mar 17, 2019
1 parent
b1454f5
commit 5e39aa2
Showing
4 changed files
with
32 additions
and
40 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ lib, python3, glibcLocales }: | ||
|
||
python3.pkgs.buildPythonApplication rec { | ||
pname = "csvkit"; | ||
version = "1.0.3"; | ||
|
||
src = python3.pkgs.fetchPypi { | ||
inherit pname version; | ||
sha256 = "a6c859c1321d4697dc41252877249091681297f093e08d9c1e1828a6d52c260c"; | ||
}; | ||
|
||
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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters