blob: 710b44df7906d9c96812a92eb13bec43d9a3d1f5 (
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
44
45
46
|
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
hatch-jupyter-builder,
hatch-nodejs-version,
jupyterlab,
ploomber-core,
}:
buildPythonPackage rec {
pname = "jupysql-plugin";
version = "0.4.5";
pyproject = true;
# using pypi archive which includes pre-built assets
src = fetchPypi {
pname = "jupysql_plugin";
inherit version;
hash = "sha256-cIXheImO4BL00zn101ZDIzKl2qkIDsTNswZOCs54lNY=";
};
build-system = [
hatchling
hatch-jupyter-builder
hatch-nodejs-version
jupyterlab
];
dependencies = [ ploomber-core ];
# testing requires a circular dependency over jupysql
doCheck = false;
pythonImportsCheck = [ "jupysql_plugin" ];
meta = {
description = "Better SQL in Jupyter";
homepage = "https://github.com/ploomber/jupysql-plugin";
changelog = "https://github.com/ploomber/jupysql-plugin/blob/${version}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ euxane ];
};
}
|