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