2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, dill
|
2023-11-16 04:20:00 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, multiprocess
|
2020-04-24 23:36:52 +00:00
|
|
|
, pox
|
|
|
|
, ppft
|
2022-06-16 17:23:12 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pathos";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "0.3.2";
|
2022-06-16 17:23:12 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "uqfoundation";
|
|
|
|
repo = pname;
|
2024-02-07 01:22:34 +00:00
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-b4HCiAvBGkFMxWh2PHC2kZ9G4PsQqVhKeIxLBKj09jU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
dill
|
|
|
|
pox
|
|
|
|
ppft
|
|
|
|
multiprocess
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Require network
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"pathos"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Parallel graph management and execution in heterogeneous computing";
|
2022-06-16 17:23:12 +00:00
|
|
|
homepage = "https://pathos.readthedocs.io/";
|
2024-02-07 01:22:34 +00:00
|
|
|
changelog = "https://github.com/uqfoundation/pathos/releases/tag/${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
2022-06-16 17:23:12 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|