kdePackages.kirigami-addons: 1.5.0 -> 1.6.0 (#360539)
[NixPkgs.git] / pkgs / development / python-modules / siuba / default.nix
blob4dbeb677987a42180cd4f52d7bfbce1e04c208e3
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytestCheckHook,
7   hypothesis,
8   numpy,
9   pandas,
10   psycopg2,
11   pymysql,
12   python-dateutil,
13   pytz,
14   pyyaml,
15   six,
16   sqlalchemy,
19 buildPythonPackage rec {
20   pname = "siuba";
21   version = "0.4.4";
22   format = "setuptools";
24   disabled = pythonOlder "3.7";
26   src = fetchFromGitHub {
27     owner = "machow";
28     repo = "siuba";
29     rev = "refs/tags/v${version}";
30     hash = "sha256-rd/yQH3sbZqQAQ1AN44vChe30GMJuIlZj3Ccfv1m3lU=";
31   };
33   propagatedBuildInputs = [
34     numpy
35     pandas
36     psycopg2
37     pymysql
38     python-dateutil
39     pytz
40     pyyaml
41     six
42     sqlalchemy
43   ];
45   nativeCheckInputs = [
46     hypothesis
47     pytestCheckHook
48   ];
50   # requires running mysql and postgres instances; see docker-compose.yml
51   doCheck = false;
53   pythonImportsCheck = [
54     "siuba"
55     "siuba.data"
56   ];
58   meta = with lib; {
59     description = "Use dplyr-like syntax with pandas and SQL";
60     homepage = "https://siuba.org";
61     changelog = "https://github.com/machow/siuba/releases/tag/v${version}";
62     license = licenses.mit;
63     maintainers = with maintainers; [ bcdarwin ];
64   };