natsukium 2024-03-21 22:04:03 +09:00
parent 7e0c9fa4ee
commit 60d35e0522
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -6,29 +6,35 @@
, pytestCheckHook , pytestCheckHook
, tomli , tomli
, twine , twine
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "hatch-jupyter-builder"; pname = "hatch-jupyter-builder";
version = "0.8.3"; version = "0.9.1";
format = "pyproject"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jupyterlab"; owner = "jupyterlab";
repo = "hatch-jupyter-builder"; repo = "hatch-jupyter-builder";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-UywhFJ8d1+lSFOF5ECsknDeQuO7ppckdy5IqAT14ius="; hash = "sha256-QDWHVdjtexUNGRL+dVehdBwahSW2HmNkZKkQyuOghyI=";
}; };
nativeBuildInputs = [ build-system = [
hatchling
];
dependencies = [
hatchling hatchling
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
pytest-mock pytest-mock
pytestCheckHook pytestCheckHook
tomli
twine twine
] ++ lib.optionals (pythonOlder "3.11") [
tomli
]; ];
disabledTests = [ disabledTests = [