Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 44 lines 745 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, isPy3k 5, click 6, dateparser 7, pandas 8, py-lru-cache 9, six 10, pytestCheckHook 11}: 12 13buildPythonPackage rec { 14 pname = "csvs-to-sqlite"; 15 version = "1.2"; 16 disabled = !isPy3k; 17 18 src = fetchFromGitHub { 19 owner = "simonw"; 20 repo = pname; 21 rev = version; 22 sha256 = "0p99cg76d3s7jxvigh5ad04dzhmr6g62qzzh4i6h7x9aiyvdhvk4"; 23 }; 24 25 propagatedBuildInputs = [ 26 click 27 dateparser 28 pandas 29 py-lru-cache 30 six 31 ]; 32 33 checkInputs = [ 34 pytestCheckHook 35 ]; 36 37 meta = with lib; { 38 description = "Convert CSV files into a SQLite database"; 39 homepage = "https://github.com/simonw/csvs-to-sqlite"; 40 license = licenses.asl20; 41 maintainers = [ maintainers.costrouc ]; 42 }; 43 44}