Commit 047f9a45 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python312Packages.paramax: init at 0.0.0

parent de28f7bf
Loading
Loading
Loading
Loading
+55 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  hatchling,

  # dependencies
  equinox,
  jax,
  jaxtyping,

  # tests
  beartype,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "paramax";
  version = "0.0.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "danielward27";
    repo = "paramax";
    tag = "v${version}";
    hash = "sha256-w6F9XuQEwRfOei6gDAyCHt2HUY7I4H92AlEv1Xddv54=";
  };

  build-system = [
    hatchling
  ];

  dependencies = [
    equinox
    jax
    jaxtyping
  ];

  pythonImportsCheck = [ "paramax" ];

  nativeCheckInputs = [
    beartype
    pytestCheckHook
  ];

  meta = {
    description = "A small library of paramaterizations and parameter constraints for PyTrees";
    homepage = "https://github.com/danielward27/paramax";
    changelog = "https://github.com/danielward27/paramax/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -10243,6 +10243,8 @@ self: super: with self; {
  param = callPackage ../development/python-modules/param { };
  paramax = callPackage ../development/python-modules/paramax { };
  parameter-expansion-patched = callPackage ../development/python-modules/parameter-expansion-patched { };
  parameterized = callPackage ../development/python-modules/parameterized { };