Commit dfd941f9 authored by euxane's avatar euxane
Browse files

python3Packages.jupysql-plugin: init at 0.4.4

parent 8e0ac093
Loading
Loading
Loading
Loading
+48 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pythonOlder,
  hatchling,
  hatch-jupyter-builder,
  hatch-nodejs-version,
  jupyterlab,
  ploomber-core,
}:

buildPythonPackage rec {
  pname = "jupysql-plugin";
  version = "0.4.4";

  pyproject = true;
  disabled = pythonOlder "3.6";

  # using pypi archive which includes pre-built assets
  src = fetchPypi {
    pname = "jupysql_plugin";
    inherit version;
    hash = "sha256-kuaKknbc00nLGwCUsULgUFT52yoptUH2mnUyGYbYYKk=";
  };

  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 = with lib; {
    description = "Better SQL in Jupyter";
    homepage = "https://github.com/ploomber/jupysql-plugin";
    changelog = "https://github.com/ploomber/jupysql-plugin/blob/${version}/CHANGELOG.md";
    license = licenses.bsd3;
    maintainers = with maintainers; [ pacien ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -6323,6 +6323,8 @@ self: super: with self; {
  junos-eznc = callPackage ../development/python-modules/junos-eznc { };
  jupysql-plugin = callPackage ../development/python-modules/jupysql-plugin { };
  jupyter = callPackage ../development/python-modules/jupyter { };
  jupyter-book = callPackage ../development/python-modules/jupyter-book { };