Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / csvs-to-sqlite / default.nix
blobea32471f09c516b00a2afa1bc165240d48e4224e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , isPy3k
5 , click
6 , dateparser
7 , pandas
8 , py-lru-cache
9 , six
10 , pytestCheckHook
13 buildPythonPackage rec {
14   pname = "csvs-to-sqlite";
15   version = "1.2";
16   disabled = !isPy3k;
18   src = fetchFromGitHub {
19     owner = "simonw";
20     repo = pname;
21     rev = version;
22     sha256 = "0p99cg76d3s7jxvigh5ad04dzhmr6g62qzzh4i6h7x9aiyvdhvk4";
23   };
25   propagatedBuildInputs = [
26     click
27     dateparser
28     pandas
29     py-lru-cache
30     six
31   ];
33   checkInputs = [
34     pytestCheckHook
35   ];
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   };