Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 67 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768{ lib, arviz, buildPythonPackage, cachetools, cloudpickle, fetchFromGitHub, numpy, pandas, pytensor, pythonOlder, rich, scipy, setuptools, typing-extensions,}:
buildPythonPackage rec { pname = "pymc"; version = "5.15.0"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub { owner = "pymc-devs"; repo = "pymc"; rev = "refs/tags/v${version}"; hash = "sha256-9AqnJOm0yQOOoksg1lpI4EcduU5xDjnIplOzVJIwQFo="; };
postPatch = '' substituteInPlace setup.py \ --replace-fail ', "pytest-cov"' "" '';
build-system = [ setuptools ];
dependencies = [ arviz cachetools cloudpickle numpy pandas pytensor rich scipy typing-extensions ];
# The test suite is computationally intensive and test failures are not # indicative for package usability hence tests are disabled by default. doCheck = false;
pythonImportsCheck = [ "pymc" ];
meta = with lib; { description = "Bayesian estimation, particularly using Markov chain Monte Carlo (MCMC)"; homepage = "https://github.com/pymc-devs/pymc"; changelog = "https://github.com/pymc-devs/pymc/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ nidabdella ferrine ]; };}