Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 63 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatchling,
# dependencies equinox, jax, jaxtyping, lineax, typing-extensions,
# checks beartype, jaxlib, optax, pytestCheckHook, pytest-xdist,}:
buildPythonPackage rec { pname = "optimistix"; version = "0.0.9"; pyproject = true;
src = fetchFromGitHub { owner = "patrick-kidger"; repo = "optimistix"; rev = "refs/tags/v${version}"; hash = "sha256-s8MRPyPObTpgLRm4bxU8F4Su7FKH+MHqtQsxIHb/DN4="; };
build-system = [ hatchling ];
dependencies = [ equinox jax jaxtyping lineax typing-extensions ];
pythonImportsCheck = [ "optimistix" ];
nativeCheckInputs = [ beartype jaxlib optax pytestCheckHook pytest-xdist ];
meta = { description = "Nonlinear optimisation (root-finding, least squares, ...) in JAX+Equinox"; homepage = "https://github.com/patrick-kidger/optimistix"; changelog = "https://github.com/patrick-kidger/optimistix/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; };}