tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.blackjax: 0.9.6 -> 1.0.0
Ben Darwin
2 years ago
ab4c8ebf
cb7fb86c
+10
-12
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
blackjax
default.nix
+10
-12
pkgs/development/python-modules/blackjax/default.nix
reviewed
···
2
2
, buildPythonPackage
3
3
, pythonOlder
4
4
, fetchFromGitHub
5
5
-
, fetchpatch
6
5
, pytestCheckHook
6
6
+
, setuptools-scm
7
7
, fastprogress
8
8
, jax
9
9
, jaxlib
···
14
14
15
15
buildPythonPackage rec {
16
16
pname = "blackjax";
17
17
-
version = "0.9.6";
18
18
-
disabled = pythonOlder "3.7";
17
17
+
version = "1.0.0";
18
18
+
pyproject = true;
19
19
+
20
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
24
-
hash = "sha256-EieDu9SJxi2cp1bHlxX4vvFZeDGMGIm24GoR8nSyjvE=";
26
26
+
hash = "sha256-hqOKSHyZ/BmOu6MJLeecD3H1BbLbZqywmlBzn3xjQRk=";
25
27
};
26
28
27
27
-
patches = [
28
28
-
# remove in next release
29
29
-
(fetchpatch {
30
30
-
name = "fix-lbfgs-args";
31
31
-
url = "https://github.com/blackjax-devs/blackjax/commit/1aaa6f64bbcb0557b658604b2daba826e260cbc6.patch";
32
32
-
hash = "sha256-XyjorXPH5Ap35Tv1/lTeTWamjplJF29SsvOq59ypftE=";
33
33
-
})
34
34
-
];
29
29
+
nativeBuildInputs = [ setuptools-scm ];
30
30
+
31
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
56
+
changelog = "https://github.com/blackjax-devs/blackjax/releases/tag/${version}";
59
57
license = licenses.asl20;
60
58
maintainers = with maintainers; [ bcdarwin ];
61
59
};