python313Packages.mitogen: modernize

This commit is contained in:
Fabian Affolter
2026-01-09 22:11:07 +01:00
committed by GitHub
parent 3ef5c76331
commit 0104baf7b8
@@ -5,7 +5,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "mitogen";
version = "0.3.37";
pyproject = true;
@@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "mitogen-hq";
repo = "mitogen";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-LN4vm3VWt2pm0wljSgGxqH61B3RTsNDyA1SCnZqyoSo=";
};
@@ -27,8 +27,8 @@ buildPythonPackage rec {
meta = {
description = "Python Library for writing distributed self-replicating programs";
homepage = "https://github.com/mitogen-hq/mitogen";
changelog = "https://github.com/mitogen-hq/mitogen/blob/${src.tag}/docs/changelog.rst";
changelog = "https://github.com/mitogen-hq/mitogen/blob/${finalAttrs.src.tag}/docs/changelog.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}
})