Loading pkgs/development/python-modules/ipydatagrid/default.nix 0 → 100644 +72 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, hatchling, hatch-jupyter-builder, jupyterlab, bqplot, ipywidgets, pandas, py2vega, yarn-berry_3, }: let yarn-berry = yarn-berry_3; in buildPythonPackage rec { pname = "ipydatagrid"; version = "1.4.0"; pyproject = true; src = fetchFromGitHub { owner = "jupyter-widgets"; repo = "ipydatagrid"; tag = version; hash = "sha256-6jaIYgLbNXIYzM+mZIVMZ1CXOpcbVK5k9nzGjq5UdLI="; }; build-system = [ hatchling hatch-jupyter-builder jupyterlab ]; nativeBuildInputs = [ yarn-berry.yarnBerryConfigHook yarn-berry ]; dependencies = [ bqplot ipywidgets pandas py2vega ]; offlineCache = yarn-berry.fetchYarnBerryDeps { inherit src; hash = "sha256-5KZl9mK6xNvy2XdWieH20hEZJ+h/KzvjOfpo78FlWpg="; }; preConfigure = '' substituteInPlace pyproject.toml package.json \ --replace-fail 'jlpm' 'yarn' ''; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Fast Datagrid widget for the Jupyter Notebook and JupyterLab"; homepage = "https://github.com/jupyter-widgets/ipydatagrid"; changelog = "https://github.com/jupyter-widgets/ipydatagrid/releases/tag/${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ flokli ]; }; } pkgs/development/python-modules/py2vega/default.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools, gast, }: buildPythonPackage rec { pname = "py2vega"; version = "0.6.1"; pyproject = true; src = fetchFromGitHub { owner = "QuantStack"; repo = "py2vega"; tag = version; hash = "sha256-M6vrObEj4cB53nvEi1oQdVWABlqGwG3xc2unY44Yhuc="; }; pythonRelaxDeps = [ "gast" ]; build-system = [ setuptools ]; dependencies = [ gast ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Python to Vega-expression transpiler"; homepage = "https://github.com/QuantStack/py2vega"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ flokli ]; }; } pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -6813,6 +6813,8 @@ self: super: with self; { ipycanvas = callPackage ../development/python-modules/ipycanvas { }; ipydatagrid = callPackage ../development/python-modules/ipydatagrid { }; ipydatawidgets = callPackage ../development/python-modules/ipydatawidgets { }; ipykernel = callPackage ../development/python-modules/ipykernel { }; Loading Loading @@ -11751,6 +11753,8 @@ self: super: with self; { py2bit = callPackage ../development/python-modules/py2bit { }; py2vega = callPackage ../development/python-modules/py2vega { }; py3buddy = callPackage ../development/python-modules/py3buddy { }; py3dns = callPackage ../development/python-modules/py3dns { }; Loading Loading
pkgs/development/python-modules/ipydatagrid/default.nix 0 → 100644 +72 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, hatchling, hatch-jupyter-builder, jupyterlab, bqplot, ipywidgets, pandas, py2vega, yarn-berry_3, }: let yarn-berry = yarn-berry_3; in buildPythonPackage rec { pname = "ipydatagrid"; version = "1.4.0"; pyproject = true; src = fetchFromGitHub { owner = "jupyter-widgets"; repo = "ipydatagrid"; tag = version; hash = "sha256-6jaIYgLbNXIYzM+mZIVMZ1CXOpcbVK5k9nzGjq5UdLI="; }; build-system = [ hatchling hatch-jupyter-builder jupyterlab ]; nativeBuildInputs = [ yarn-berry.yarnBerryConfigHook yarn-berry ]; dependencies = [ bqplot ipywidgets pandas py2vega ]; offlineCache = yarn-berry.fetchYarnBerryDeps { inherit src; hash = "sha256-5KZl9mK6xNvy2XdWieH20hEZJ+h/KzvjOfpo78FlWpg="; }; preConfigure = '' substituteInPlace pyproject.toml package.json \ --replace-fail 'jlpm' 'yarn' ''; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Fast Datagrid widget for the Jupyter Notebook and JupyterLab"; homepage = "https://github.com/jupyter-widgets/ipydatagrid"; changelog = "https://github.com/jupyter-widgets/ipydatagrid/releases/tag/${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ flokli ]; }; }
pkgs/development/python-modules/py2vega/default.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools, gast, }: buildPythonPackage rec { pname = "py2vega"; version = "0.6.1"; pyproject = true; src = fetchFromGitHub { owner = "QuantStack"; repo = "py2vega"; tag = version; hash = "sha256-M6vrObEj4cB53nvEi1oQdVWABlqGwG3xc2unY44Yhuc="; }; pythonRelaxDeps = [ "gast" ]; build-system = [ setuptools ]; dependencies = [ gast ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Python to Vega-expression transpiler"; homepage = "https://github.com/QuantStack/py2vega"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ flokli ]; }; }
pkgs/top-level/python-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -6813,6 +6813,8 @@ self: super: with self; { ipycanvas = callPackage ../development/python-modules/ipycanvas { }; ipydatagrid = callPackage ../development/python-modules/ipydatagrid { }; ipydatawidgets = callPackage ../development/python-modules/ipydatawidgets { }; ipykernel = callPackage ../development/python-modules/ipykernel { }; Loading Loading @@ -11751,6 +11753,8 @@ self: super: with self; { py2bit = callPackage ../development/python-modules/py2bit { }; py2vega = callPackage ../development/python-modules/py2vega { }; py3buddy = callPackage ../development/python-modules/py3buddy { }; py3dns = callPackage ../development/python-modules/py3dns { }; Loading