02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
45 lines
806 B
Nix
45 lines
806 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, dill
|
|
, pox
|
|
, ppft
|
|
, multiprocess
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pathos";
|
|
version = "0.2.9";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "uqfoundation";
|
|
repo = pname;
|
|
rev = "refs/tags/pathos-${version}";
|
|
sha256 = "sha256-39D+itH0nkOzmh3Rpg/HXLRj2F1UPsys+iU0ZiodkM0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
dill
|
|
pox
|
|
ppft
|
|
multiprocess
|
|
];
|
|
|
|
# Require network
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pathos"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Parallel graph management and execution in heterogeneous computing";
|
|
homepage = "https://pathos.readthedocs.io/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|