nixpkgs/pkgs/development/python-modules/mitogen/default.nix
2021-10-30 10:08:27 -07:00

29 lines
641 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "mitogen";
version = "0.3.0";
src = fetchFromGitHub {
owner = "mitogen-hq";
repo = pname;
rev = "v${version}";
sha256 = "sha256-SotxlsJDIeFd4BN9C7afyyybET5ST2yaoWVEyT/lr48=";
};
# 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 ];
};
}