nixpkgs/pkgs/development/python-modules/pathos/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

46 lines
804 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, dill
, pox
, ppft
, multiprocess
, pythonOlder
}:
buildPythonPackage rec {
pname = "pathos";
version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "uqfoundation";
repo = pname;
rev = "refs/tags/pathos-${version}";
hash = "sha256-Jc7pMVjOUSaZydRh87FsHivEAXpX9v6EbZNkHwPeq/Q=";
};
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; [ ];
};
}