Files
nixpkgs/pkgs/development/python-modules/mitogen/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

35 lines
807 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "mitogen";
version = "0.3.35";
pyproject = true;
src = fetchFromGitHub {
owner = "mitogen-hq";
repo = "mitogen";
tag = "v${version}";
hash = "sha256-1GJRomtIrm9Dudc8mTATc7CM7VFTHjF5X2IfW4AV/ms=";
};
build-system = [ setuptools ];
# Tests require network access and Docker support
doCheck = false;
pythonImportsCheck = [ "mitogen" ];
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";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}