Skip to content

Commit

Permalink
python312Packages.oryx: init at 0.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Sep 30, 2024
1 parent 441ac0c commit 73187ea
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
53 changes: 53 additions & 0 deletions pkgs/development/python-modules/oryx/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,

# build-system
poetry-core,

# dependencies
jax,
jaxlib,
tensorflow-probability,

# tests
inference-gym,
pytestCheckHook,
}:

buildPythonPackage rec {
pname = "oryx";
version = "0.2.7";
pyproject = true;

src = fetchFromGitHub {
owner = "jax-ml";
repo = "oryx";
rev = "refs/tags/v${version}";
hash = "sha256-1n7ogGuFNAeOyXWe0/pAouhg2+aA3MXxlCcsrfqRTdU=";
};

build-system = [ poetry-core ];

dependencies = [
jax
jaxlib
tensorflow-probability
];

pythonImportsCheck = [ "oryx" ];

nativeCheckInputs = [
inference-gym
pytestCheckHook
];

meta = {
description = "Library for probabilistic programming and deep learning built on top of Jax";
homepage = "https://github.com/jax-ml/oryx";
changelog = "https://github.com/jax-ml/oryx/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9462,6 +9462,8 @@ self: super: with self; {

orvibo = callPackage ../development/python-modules/orvibo { };

oryx = callPackage ../development/python-modules/oryx { };

os-client-config = callPackage ../development/python-modules/os-client-config { };

os-service-types = callPackage ../development/python-modules/os-service-types { };
Expand Down

0 comments on commit 73187ea

Please sign in to comment.