python3Packages.scverse-misc: init at 0.1.0

This commit is contained in:
Gaetan Lepage
2026-06-29 15:03:43 +00:00
parent e163fd3d3b
commit 4eb8d73b04
2 changed files with 89 additions and 0 deletions
@@ -0,0 +1,87 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatch-vcs,
hatchling,
# dependencies
session-info2,
typing-extensions,
# optional-dependencies
# datasets:
anndata,
pooch,
pyyaml,
tqdm,
# settings:
pydantic-settings,
python-dotenv,
# sphinx:
sphinx,
# tests
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "scverse-misc";
version = "0.1.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "scverse";
repo = "scverse-misc";
tag = "v${finalAttrs.version}";
hash = "sha256-PkvOaxGbZ1i10xgghdvGLCKiXcwg/eZzYvQ7Gp3K+JE=";
};
build-system = [
hatch-vcs
hatchling
];
dependencies = [
session-info2
typing-extensions
];
optional-dependencies = {
datasets = [
anndata
pooch
pyyaml
tqdm
];
settings = [
pydantic-settings
python-dotenv
];
spatialdata = [
# spatialdata (unpackaged)
];
sphinx = [
# pydocstring-rs (unpackaged)
sphinx
];
};
pythonImportsCheck = [ "scverse_misc" ];
nativeCheckInputs = [
pytestCheckHook
pyyaml
];
meta = {
description = "Miscellaneous utility code used by scverse packages";
homepage = "https://github.com/scverse/scverse-misc";
changelog = "https://github.com/scverse/scverse-misc/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
})
+2
View File
@@ -17922,6 +17922,8 @@ self: super: with self; {
scspell = callPackage ../development/python-modules/scspell { };
scverse-misc = callPackage ../development/python-modules/scverse-misc { };
sdbus = callPackage ../development/python-modules/sdbus { };
sdbus-networkmanager = callPackage ../development/python-modules/sdbus-networkmanager { };