1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-26 11:06:44 +03:00
nixpkgs/pkgs/development/python-modules/duckdb/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
705 B
Nix
Raw Normal View History

2020-05-26 21:27:48 -04:00
{ lib
, buildPythonPackage
, duckdb
, mypy
2020-05-26 21:27:48 -04:00
, numpy
, pandas
, pybind11
, setuptools-scm
, pytestCheckHook
2020-05-26 21:27:48 -04:00
}:
buildPythonPackage rec {
pname = "duckdb";
inherit (duckdb) version src;
2022-01-01 18:43:00 +01:00
format = "setuptools";
2020-05-26 21:27:48 -04:00
2022-01-01 18:43:00 +01:00
sourceRoot = "source/tools/pythonpkg";
2022-01-01 18:43:00 +01:00
SETUPTOOLS_SCM_PRETEND_VERSION = version;
2020-05-26 21:27:48 -04:00
nativeBuildInputs = [
pybind11
setuptools-scm
2020-05-26 21:27:48 -04:00
];
2021-07-03 14:37:43 +02:00
propagatedBuildInputs = [
numpy
pandas
];
checkInputs = [
2022-01-01 18:43:00 +01:00
mypy
2021-07-03 14:37:43 +02:00
pytestCheckHook
];
2020-05-26 21:27:48 -04:00
2022-01-01 18:43:00 +01:00
pythonImportsCheck = [
"duckdb"
];
2020-05-26 21:27:48 -04:00
meta = with lib; {
2021-07-03 14:37:43 +02:00
description = "Python binding for DuckDB";
homepage = "https://duckdb.org/";
2020-05-26 21:27:48 -04:00
license = licenses.mit;
2021-07-03 14:37:43 +02:00
maintainers = with maintainers; [ costrouc ];
2020-05-26 21:27:48 -04:00
};
}