Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 30 lines 751 B view raw
1{ lib, python3, glibcLocales }: 2 3python3.pkgs.buildPythonApplication rec { 4 pname = "csvkit"; 5 version = "1.0.3"; 6 7 src = python3.pkgs.fetchPypi { 8 inherit pname version; 9 sha256 = "a6c859c1321d4697dc41252877249091681297f093e08d9c1e1828a6d52c260c"; 10 }; 11 12 propagatedBuildInputs = with python3.pkgs; [ 13 agate agate-excel agate-dbf agate-sql six 14 ]; 15 16 checkInputs = with python3.pkgs; [ 17 glibcLocales nose 18 ]; 19 20 checkPhase = '' 21 LC_ALL="en_US.UTF-8" nosetests -e test_csvsql 22 ''; 23 24 meta = with lib; { 25 description = "A suite of command-line tools for converting to and working with CSV"; 26 maintainers = with maintainers; [ vrthra ]; 27 license = licenses.mit; 28 homepage = https://github.com/wireservice/csvkit; 29 }; 30}