lol

python310Packages.blackjax: 0.9.6 -> 1.0.0

+10 -12
+10 -12
pkgs/development/python-modules/blackjax/default.nix
··· 2 2 , buildPythonPackage 3 3 , pythonOlder 4 4 , fetchFromGitHub 5 - , fetchpatch 6 5 , pytestCheckHook 6 + , setuptools-scm 7 7 , fastprogress 8 8 , jax 9 9 , jaxlib ··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "blackjax"; 17 - version = "0.9.6"; 18 - disabled = pythonOlder "3.7"; 17 + version = "1.0.0"; 18 + pyproject = true; 19 + 20 + disabled = pythonOlder "3.8"; 19 21 20 22 src = fetchFromGitHub { 21 23 owner = "blackjax-devs"; 22 24 repo = pname; 23 25 rev = "refs/tags/${version}"; 24 - hash = "sha256-EieDu9SJxi2cp1bHlxX4vvFZeDGMGIm24GoR8nSyjvE="; 26 + hash = "sha256-hqOKSHyZ/BmOu6MJLeecD3H1BbLbZqywmlBzn3xjQRk="; 25 27 }; 26 28 27 - patches = [ 28 - # remove in next release 29 - (fetchpatch { 30 - name = "fix-lbfgs-args"; 31 - url = "https://github.com/blackjax-devs/blackjax/commit/1aaa6f64bbcb0557b658604b2daba826e260cbc6.patch"; 32 - hash = "sha256-XyjorXPH5Ap35Tv1/lTeTWamjplJF29SsvOq59ypftE="; 33 - }) 34 - ]; 29 + nativeBuildInputs = [ setuptools-scm ]; 30 + 31 + env.SETUPTOOLS_SCM_PRETEND_VERSION = version; 35 32 36 33 propagatedBuildInputs = [ 37 34 fastprogress ··· 56 53 meta = with lib; { 57 54 homepage = "https://blackjax-devs.github.io/blackjax"; 58 55 description = "Sampling library designed for ease of use, speed and modularity"; 56 + changelog = "https://github.com/blackjax-devs/blackjax/releases/tag/${version}"; 59 57 license = licenses.asl20; 60 58 maintainers = with maintainers; [ bcdarwin ]; 61 59 };