blob: 0d05a595efd3e42d6de77daaa591e078031cfbe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
google-cloud-bigquery,
google-cloud-bigquery-storage,
}:
buildPythonPackage rec {
pname = "harlequin-bigquery";
version = "1.0.3";
pyproject = true;
src = fetchPypi {
pname = "harlequin_bigquery";
inherit version;
hash = "sha256-jdDwmfiU7x4zl4hg12evrPqLEzPB2M8/1HN4d0N1EJQ=";
};
build-system = [
poetry-core
];
dependencies = [
google-cloud-bigquery
google-cloud-bigquery-storage
];
# To prevent circular dependency
# as harlequin-bigquery requires harlequin which requires harlequin-bigquery
doCheck = false;
pythonRemoveDeps = [
"harlequin"
];
meta = {
description = "Harlequin adapter for Google BigQuery";
homepage = "https://pypi.org/project/harlequin-bigquery/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pcboy ];
};
}
|