mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
python312Packages.oryx: init at 0.2.7
This commit is contained in:
parent
441ac0c553
commit
73187eaa33
53
pkgs/development/python-modules/oryx/default.nix
Normal file
53
pkgs/development/python-modules/oryx/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user