depot/third_party/nixpkgs/pkgs/development/python-modules/mitogen/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

34 lines
717 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "mitogen";
version = "0.3.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mitogen-hq";
repo = pname;
rev = "v${version}";
hash = "sha256-cx0q2Y9A6UzpdD1kuGBtXIs9oBGFpkIyvPfN2hj+A1g=";
};
# Tests require network access and Docker support
doCheck = false;
pythonImportsCheck = [
"mitogen"
];
meta = with lib; {
description = "Python Library for writing distributed self-replicating programs";
homepage = "https://github.com/mitogen-hq/mitogen";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}