Merge pull request #210154 from bcdarwin/python3-siuba

python310Packages.siuba: init at 0.4.2

authored by

Sandro and committed by
GitHub
bd5a809a daeec2fe

+64
+62
pkgs/development/python-modules/siuba/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pythonOlder 5 + , pytestCheckHook 6 + , hypothesis 7 + , numpy 8 + , pandas 9 + , psycopg2 10 + , pymysql 11 + , python-dateutil 12 + , pytz 13 + , pyyaml 14 + , six 15 + , sqlalchemy 16 + }: 17 + 18 + buildPythonPackage rec { 19 + pname = "siuba"; 20 + version = "0.4.2"; 21 + disabled = pythonOlder "3.7"; 22 + 23 + format = "setuptools"; 24 + 25 + src = fetchFromGitHub { 26 + owner = "machow"; 27 + repo = "siuba"; 28 + rev = "refs/tags/v${version}"; 29 + hash = "sha256-Q2nkK51bmIO2OcBuWu+u7yB8UmaqiZJXpuxXcytTlUY="; 30 + }; 31 + 32 + propagatedBuildInputs = [ 33 + numpy 34 + pandas 35 + psycopg2 36 + pymysql 37 + python-dateutil 38 + pytz 39 + pyyaml 40 + six 41 + sqlalchemy 42 + ]; 43 + 44 + checkInputs = [ 45 + hypothesis 46 + pytestCheckHook 47 + ]; 48 + doCheck = false; 49 + # requires running mysql and postgres instances; see docker-compose.yml 50 + 51 + pythonImportsCheck = [ 52 + "siuba" 53 + "siuba.data" 54 + ]; 55 + 56 + meta = with lib; { 57 + description = "Use dplyr-like syntax with pandas and SQL"; 58 + homepage = "https://siuba.org"; 59 + license = licenses.mit; 60 + maintainers = with maintainers; [ bcdarwin ]; 61 + }; 62 + }
+2
pkgs/top-level/python-packages.nix
··· 10507 10507 10508 10508 sip_4 = callPackage ../development/python-modules/sip/4.x.nix { }; 10509 10509 10510 + siuba = callPackage ../development/python-modules/siuba { }; 10511 + 10510 10512 six = callPackage ../development/python-modules/six { }; 10511 10513 10512 10514 sjcl = callPackage ../development/python-modules/sjcl { };