35 lines
807 B
Nix
35 lines
807 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mitogen";
|
|
version = "0.3.36";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mitogen-hq";
|
|
repo = "mitogen";
|
|
tag = "v${version}";
|
|
hash = "sha256-bs00ibMHAhH9oIEoRndX3AMOHwayY5atS5Hi6mJGGJ4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|