My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/db-dtypes/default.nix

47 lines
879 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, packaging
, pandas
, pyarrow
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "db-dtypes";
version = "1.0.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "googleapis";
repo = "python-db-dtypes-pandas";
rev = "refs/tags/v${version}";
hash = "sha256-ilcVog6mhF83GVa68BppUzvKNRPdSDXla2MU6M2EzLg=";
};
propagatedBuildInputs = [
numpy
packaging
pandas
pyarrow
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"db_dtypes"
];
meta = with lib; {
description = "Pandas Data Types for SQL systems (BigQuery, Spanner)";
homepage = "https://github.com/googleapis/python-db-dtypes-pandas";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}