Skip to content

Commit 047f9a4

Browse files
committed
python312Packages.paramax: init at 0.0.0
1 parent de28f7b commit 047f9a4

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
6+
# build-system
7+
hatchling,
8+
9+
# dependencies
10+
equinox,
11+
jax,
12+
jaxtyping,
13+
14+
# tests
15+
beartype,
16+
pytestCheckHook,
17+
}:
18+
19+
buildPythonPackage rec {
20+
pname = "paramax";
21+
version = "0.0.0";
22+
pyproject = true;
23+
24+
src = fetchFromGitHub {
25+
owner = "danielward27";
26+
repo = "paramax";
27+
tag = "v${version}";
28+
hash = "sha256-w6F9XuQEwRfOei6gDAyCHt2HUY7I4H92AlEv1Xddv54=";
29+
};
30+
31+
build-system = [
32+
hatchling
33+
];
34+
35+
dependencies = [
36+
equinox
37+
jax
38+
jaxtyping
39+
];
40+
41+
pythonImportsCheck = [ "paramax" ];
42+
43+
nativeCheckInputs = [
44+
beartype
45+
pytestCheckHook
46+
];
47+
48+
meta = {
49+
description = "A small library of paramaterizations and parameter constraints for PyTrees";
50+
homepage = "https://github.com/danielward27/paramax";
51+
changelog = "https://github.com/danielward27/paramax/releases/tag/v${version}";
52+
license = lib.licenses.mit;
53+
maintainers = with lib.maintainers; [ GaetanLepage ];
54+
};
55+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10243,6 +10243,8 @@ self: super: with self; {
1024310243

1024410244
param = callPackage ../development/python-modules/param { };
1024510245

10246+
paramax = callPackage ../development/python-modules/paramax { };
10247+
1024610248
parameter-expansion-patched = callPackage ../development/python-modules/parameter-expansion-patched { };
1024710249

1024810250
parameterized = callPackage ../development/python-modules/parameterized { };

0 commit comments

Comments
 (0)