python3Packages.hatch-deps-selector: init at 0.1.2

This commit is contained in:
Gaetan Lepage
2025-12-06 09:01:10 +00:00
parent be9cbacda3
commit 0e2138914c
2 changed files with 39 additions and 0 deletions
@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
}:
buildPythonPackage rec {
pname = "hatch-deps-selector";
version = "0.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyter-book";
repo = "hatch-deps-selector";
tag = "v${version}";
hash = "sha256-AaHVBUDENF3d+yzDt5mvMnfqO+DSYQafMdHNDyEtz2s=";
};
build-system = [
hatchling
];
pythonImportsCheck = [ "hatch_deps_selector" ];
# No tests
doCheck = false;
meta = {
description = "Select additional dependencies for pyproject.toml from the environment";
homepage = "https://github.com/jupyter-book/hatch-deps-selector";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
+2
View File
@@ -6679,6 +6679,8 @@ self: super: with self; {
hatch-babel = callPackage ../development/python-modules/hatch-babel { };
hatch-deps-selector = callPackage ../development/python-modules/hatch-deps-selector { };
hatch-docstring-description =
callPackage ../development/python-modules/hatch-docstring-description
{ };