15 buildPythonPackage rec {
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
23 owner = "blackjax-devs";
25 rev = "refs/tags/${version}";
26 hash = "sha256-hqOKSHyZ/BmOu6MJLeecD3H1BbLbZqywmlBzn3xjQRk=";
29 nativeBuildInputs = [ setuptools-scm ];
31 env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
33 propagatedBuildInputs = [
42 nativeCheckInputs = [ pytestCheckHook ];
43 disabledTestPaths = [ "tests/test_benchmarks.py" ];
46 "test_adaptive_tempered_smc"
49 pythonImportsCheck = [
54 homepage = "https://blackjax-devs.github.io/blackjax";
55 description = "Sampling library designed for ease of use, speed and modularity";
56 changelog = "https://github.com/blackjax-devs/blackjax/releases/tag/${version}";
57 license = licenses.asl20;
58 maintainers = with maintainers; [ bcdarwin ];