depot/third_party/nixpkgs/pkgs/development/python-modules/hatch-jupyter-builder/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

46 lines
969 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
, pytest-mock
, pytestCheckHook
, tomli
, twine
}:
buildPythonPackage rec {
pname = "hatch-jupyter-builder";
version = "0.8.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "jupyterlab";
repo = "hatch-jupyter-builder";
rev = "refs/tags/v${version}";
hash = "sha256-UywhFJ8d1+lSFOF5ECsknDeQuO7ppckdy5IqAT14ius=";
};
nativeBuildInputs = [
hatchling
];
nativeCheckInputs = [
pytest-mock
pytestCheckHook
tomli
twine
];
disabledTests = [
# tests pip install, which unsuprisingly fails
"test_hatch_build"
];
meta = with lib; {
changelog = "https://github.com/jupyterlab/hatch-jupyter-builder/releases/tag/v${version}";
description = "hatch plugin to help build Jupyter packages";
homepage = "https://github.com/jupyterlab/hatch-jupyter-builder";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}