depot/third_party/nixpkgs/pkgs/development/python-modules/pathos/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

45 lines
865 B
Nix

{
lib,
buildPythonPackage,
dill,
fetchFromGitHub,
multiprocess,
pox,
ppft,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pathos";
version = "0.3.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "uqfoundation";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-J3rwnsn/3DXmChydwNC5yvsdSk1mzvPSnSo21BwkhSE=";
};
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/";
changelog = "https://github.com/uqfoundation/pathos/releases/tag/${version}";
license = licenses.bsd3;
maintainers = [ ];
};
}