mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-14 12:48:57 +00:00
47 lines
1020 B
Nix
47 lines
1020 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
pytest-mock,
|
|
pytestCheckHook,
|
|
twine,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "hatch-jupyter-builder";
|
|
version = "0.9.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jupyterlab";
|
|
repo = "hatch-jupyter-builder";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-QDWHVdjtexUNGRL+dVehdBwahSW2HmNkZKkQyuOghyI=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [ hatchling ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-mock
|
|
pytestCheckHook
|
|
twine
|
|
];
|
|
|
|
disabledTests = [
|
|
# tests pip install, which unsurprisingly fails
|
|
"test_hatch_build"
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/jupyterlab/hatch-jupyter-builder/releases/tag/v${finalAttrs.version}";
|
|
description = "Hatch plugin to help build Jupyter packages";
|
|
mainProgram = "hatch-jupyter-builder";
|
|
homepage = "https://github.com/jupyterlab/hatch-jupyter-builder";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
})
|