nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage (finalAttrs: {
9 pname = "mitogen";
10 version = "0.3.38";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "mitogen-hq";
15 repo = "mitogen";
16 tag = "v${finalAttrs.version}";
17 hash = "sha256-DtW6MPXZZnMXKJM4m86UXq2oFnprJYHjYHJ70V5b+o0=";
18 };
19
20 build-system = [ setuptools ];
21
22 # Tests require network access and Docker support
23 doCheck = false;
24
25 pythonImportsCheck = [ "mitogen" ];
26
27 meta = {
28 description = "Python Library for writing distributed self-replicating programs";
29 homepage = "https://github.com/mitogen-hq/mitogen";
30 changelog = "https://github.com/mitogen-hq/mitogen/blob/${finalAttrs.src.tag}/docs/changelog.rst";
31 license = lib.licenses.bsd3;
32 maintainers = with lib.maintainers; [ fab ];
33 };
34})