Merge: matrix-synapse: 1.122.0 -> 1.123.0 (#378018)
[NixPkgs.git] / pkgs / development / python-modules / jupysql-plugin / default.nix
blob357a971cb17d65d0e914345defa0e2bf0b82b254
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   hatchling,
7   hatch-jupyter-builder,
8   hatch-nodejs-version,
9   jupyterlab,
10   ploomber-core,
13 buildPythonPackage rec {
14   pname = "jupysql-plugin";
15   version = "0.4.5";
17   pyproject = true;
18   disabled = pythonOlder "3.6";
20   # using pypi archive which includes pre-built assets
21   src = fetchPypi {
22     pname = "jupysql_plugin";
23     inherit version;
24     hash = "sha256-cIXheImO4BL00zn101ZDIzKl2qkIDsTNswZOCs54lNY=";
25   };
27   build-system = [
28     hatchling
29     hatch-jupyter-builder
30     hatch-nodejs-version
31     jupyterlab
32   ];
34   dependencies = [ ploomber-core ];
36   # testing requires a circular dependency over jupysql
37   doCheck = false;
39   pythonImportsCheck = [ "jupysql_plugin" ];
41   meta = with lib; {
42     description = "Better SQL in Jupyter";
43     homepage = "https://github.com/ploomber/jupysql-plugin";
44     changelog = "https://github.com/ploomber/jupysql-plugin/blob/${version}/CHANGELOG.md";
45     license = licenses.bsd3;
46     maintainers = with maintainers; [ euxane ];
47   };