Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 84 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{ lib, buildPythonPackage, fetchFromGitHub, setuptools, wheel, importlib-resources, pygments, tqdm, flask, multiprocess, docutils, sphinx, sphinx-autodoc-typehints, sphinx-rtd-theme, sphinx-versions, sphinxcontrib-images, ipywidgets, numpy, rich, pytestCheckHook,}:
buildPythonPackage rec { pname = "mpire"; version = "2.10.2"; pyproject = true;
src = fetchFromGitHub { owner = "sybrenjansen"; repo = "mpire"; tag = "v${version}"; hash = "sha256-6O+k8gSMCu4zhj7KzbsC5UUCU/TG/g3dYsGVuvcy25E="; };
build-system = [ setuptools wheel ];
dependencies = [ importlib-resources pygments tqdm ];
optional-dependencies = { dashboard = [ flask ]; dill = [ multiprocess ]; docs = [ docutils sphinx sphinx-autodoc-typehints sphinx-rtd-theme sphinx-versions sphinxcontrib-images ]; testing = [ ipywidgets multiprocess numpy rich ]; };
pythonImportsCheck = [ "mpire" ];
nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.testing;
enabledTestPaths = [ "tests" ];
meta = { description = "Python package for easy multiprocessing, but faster than multiprocessing"; homepage = "https://pypi.org/project/mpire/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ booxter ]; };}