Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 86 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools, setuptools-scm, versioneer,
# dependencies click, cloudpickle, dask, jinja2, locket, msgpack, packaging, psutil, pyyaml, sortedcontainers, tblib, toolz, tornado, urllib3, zict,}:
buildPythonPackage rec { pname = "distributed"; version = "2025.3.0"; pyproject = true;
src = fetchFromGitHub { owner = "dask"; repo = "distributed"; tag = version; hash = "sha256-+vegdEXhQi3ns5iMs6FavKnAlRNIWCUNyZENVBWZsuQ="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "versioneer[toml]==" "versioneer[toml]>=" \ --replace-fail 'dynamic = ["version"]' 'version = "${version}"' '';
build-system = [ setuptools setuptools-scm versioneer ] ++ versioneer.optional-dependencies.toml;
pythonRelaxDeps = [ "dask" ];
dependencies = [ click cloudpickle dask jinja2 locket msgpack packaging psutil pyyaml sortedcontainers tblib toolz tornado urllib3 zict ];
# When tested random tests would fail and not repeatably doCheck = false;
pythonImportsCheck = [ "distributed" ];
meta = { description = "Distributed computation in Python"; homepage = "https://distributed.readthedocs.io/"; changelog = "https://github.com/dask/distributed/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ teh ]; };}