File tree Expand file tree Collapse file tree 2 files changed +67
-0
lines changed
development/python-modules/flowjax Expand file tree Collapse file tree 2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+
6+ # build-system
7+ hatchling ,
8+
9+ # dependencies
10+ equinox ,
11+ jax ,
12+ jaxtyping ,
13+ optax ,
14+ paramax ,
15+ tqdm ,
16+
17+ # tests
18+ beartype ,
19+ numpyro ,
20+ pytest-xdist ,
21+ pytestCheckHook ,
22+ } :
23+
24+ buildPythonPackage rec {
25+ pname = "flowjax" ;
26+ version = "17.1.1" ;
27+ pyproject = true ;
28+
29+ src = fetchFromGitHub {
30+ owner = "danielward27" ;
31+ repo = "flowjax" ;
32+ tag = "v${ version } " ;
33+ hash = "sha256-CLtkO7Lr+FpC/RHnqDSmevpJ3/3EfuILrQSbcdNTqsI=" ;
34+ } ;
35+
36+ build-system = [
37+ hatchling
38+ ] ;
39+
40+ dependencies = [
41+ equinox
42+ jax
43+ jaxtyping
44+ optax
45+ paramax
46+ tqdm
47+ ] ;
48+
49+ pythonImportsCheck = [ "flowjax" ] ;
50+
51+ nativeCheckInputs = [
52+ beartype
53+ numpyro
54+ pytest-xdist
55+ pytestCheckHook
56+ ] ;
57+
58+ meta = {
59+ description = "Distributions, bijections and normalizing flows using Equinox and JAX" ;
60+ homepage = "https://github.com/danielward27/flowjax" ;
61+ changelog = "https://github.com/danielward27/flowjax/releases/tag/v${ version } " ;
62+ license = lib . licenses . mit ;
63+ maintainers = with lib . maintainers ; [ GaetanLepage ] ;
64+ } ;
65+ }
Original file line number Diff line number Diff line change @@ -4934,6 +4934,8 @@ self: super: with self; {
49344934
49354935 flower = callPackage ../development/python-modules/flower { };
49364936
4937+ flowjax = callPackage ../development/python-modules/flowjax { };
4938+
49374939 flowlogs-reader = callPackage ../development/python-modules/flowlogs-reader { };
49384940
49394941 flowmc = callPackage ../development/python-modules/flowmc { };
You can’t perform that action at this time.
0 commit comments