python312Packages.swh-journal: init at 2.0.0
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitLab,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
confluent-kafka,
|
||||
msgpack,
|
||||
swh-core,
|
||||
swh-model,
|
||||
pytestCheckHook,
|
||||
pytest-mock,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "swh-journal";
|
||||
version = "2.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.softwareheritage.org";
|
||||
group = "swh";
|
||||
owner = "devel";
|
||||
repo = "swh-journal";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ycTB7hSjTerJOd+nEv8HbM82vPAO8P1+xooy0oN4eHw=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
confluent-kafka
|
||||
msgpack
|
||||
swh-core
|
||||
swh-model
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "swh.journal" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Persistent logger of changes to the archive, with publish-subscribe support";
|
||||
homepage = "https://gitlab.softwareheritage.org/swh/devel/swh-journal";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
};
|
||||
}
|
||||
@@ -16663,6 +16663,8 @@ self: super: with self; {
|
||||
|
||||
swh-core = callPackage ../development/python-modules/swh-core { };
|
||||
|
||||
swh-journal = callPackage ../development/python-modules/swh-journal { };
|
||||
|
||||
swh-model = callPackage ../development/python-modules/swh-model { };
|
||||
|
||||
swh-objstorage = callPackage ../development/python-modules/swh-objstorage { };
|
||||
|
||||
Reference in New Issue
Block a user