python313Packages.session-info2: init at 0.2
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatch-docstring-description,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
coverage,
|
||||
ipykernel,
|
||||
jupyter-client,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
pytest-subprocess,
|
||||
testing-common-database,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "session-info2";
|
||||
version = "0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scverse";
|
||||
repo = "session-info2";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-DsI2mFM7xZgSm24yVzF6B+2aruKsjkTKZAmJPg7mWgg=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatch-docstring-description
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
coverage
|
||||
ipykernel
|
||||
jupyter-client
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-subprocess
|
||||
testing-common-database
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"session_info2"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Report Python session information";
|
||||
homepage = "https://session-info2.readthedocs.io";
|
||||
changelog = "https://github.com/scverse/session-info2/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
@@ -16407,6 +16407,8 @@ self: super: with self; {
|
||||
|
||||
service-identity = callPackage ../development/python-modules/service-identity { };
|
||||
|
||||
session-info2 = callPackage ../development/python-modules/session-info2 { };
|
||||
|
||||
setproctitle = callPackage ../development/python-modules/setproctitle { };
|
||||
|
||||
setupmeta = callPackage ../development/python-modules/setupmeta { };
|
||||
|
||||
Reference in New Issue
Block a user