Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 74 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475{ lib, buildPythonPackage, fetchPypi, graphviz, jupyter, matplotlib, networkx, opt-einsum, pandas, pillow, pyro-api, pythonOlder, torch, scikit-learn, seaborn, torchvision, tqdm, wget}:
buildPythonPackage rec { pname = "pyro-ppl"; version = "1.8.6"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit version pname; hash = "sha256-ANL03ailPmbZVRJNxuSektz1cM071waCUJHbdk2TzQc="; };
propagatedBuildInputs = [ pyro-api torch networkx opt-einsum tqdm ];
passthru.optional-dependencies = { extras = [ graphviz jupyter # lap matplotlib pandas pillow scikit-learn seaborn torchvision # visdom wget ]; };
# pyro not shipping tests do simple smoke test instead doCheck = false;
pythonImportsCheck = [ "pyro" "pyro.distributions" "pyro.infer" "pyro.optim" ];
meta = with lib; { description = "Library for probabilistic modeling and inference"; homepage = "http://pyro.ai"; changelog = "https://github.com/pyro-ppl/pyro/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ teh georgewhewell ]; };}