nixpkgs/pkgs/development/python-modules/multiprocess/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

37 lines
722 B
Nix

{ lib
, buildPythonPackage
, dill
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "multiprocess";
version = "0.70.14";
format = "setuptools";
src = fetchFromGitHub {
owner = "uqfoundation";
repo = pname;
rev = "refs/tags/multiprocess-${version}";
hash = "sha256-pjYOEOI5No9gT0XchmH6FSJ9uDqEnaLj/PyHT2a90jo=";
};
propagatedBuildInputs = [
dill
];
# Python-version dependent tests
doCheck = false;
pythonImportsCheck = [
"multiprocess"
];
meta = with lib; {
description = "Multiprocessing and multithreading in Python";
homepage = "https://github.com/uqfoundation/multiprocess";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}