Merge pull request #210154 from bcdarwin/python3-siuba
python310Packages.siuba: init at 0.4.2
This commit is contained in:
commit
bd5a809a35
62
pkgs/development/python-modules/siuba/default.nix
Normal file
62
pkgs/development/python-modules/siuba/default.nix
Normal file
@ -0,0 +1,62 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, hypothesis
|
||||
, numpy
|
||||
, pandas
|
||||
, psycopg2
|
||||
, pymysql
|
||||
, python-dateutil
|
||||
, pytz
|
||||
, pyyaml
|
||||
, six
|
||||
, sqlalchemy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "siuba";
|
||||
version = "0.4.2";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "machow";
|
||||
repo = "siuba";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Q2nkK51bmIO2OcBuWu+u7yB8UmaqiZJXpuxXcytTlUY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
pandas
|
||||
psycopg2
|
||||
pymysql
|
||||
python-dateutil
|
||||
pytz
|
||||
pyyaml
|
||||
six
|
||||
sqlalchemy
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
];
|
||||
doCheck = false;
|
||||
# requires running mysql and postgres instances; see docker-compose.yml
|
||||
|
||||
pythonImportsCheck = [
|
||||
"siuba"
|
||||
"siuba.data"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Use dplyr-like syntax with pandas and SQL";
|
||||
homepage = "https://siuba.org";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
@ -10507,6 +10507,8 @@ self: super: with self; {
|
||||
|
||||
sip_4 = callPackage ../development/python-modules/sip/4.x.nix { };
|
||||
|
||||
siuba = callPackage ../development/python-modules/siuba { };
|
||||
|
||||
six = callPackage ../development/python-modules/six { };
|
||||
|
||||
sjcl = callPackage ../development/python-modules/sjcl { };
|
||||
|
Loading…
Reference in New Issue
Block a user