Merge pull request #152975 from ndl/submit/treeo

python3Packages.treeo: init at 0.0.9
This commit is contained in:
markuskowa 2022-01-02 13:30:38 +01:00 committed by GitHub
commit 88a186867d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ buildPythonPackage
, fetchFromGitHub
, jax
, jaxlib
, lib
, poetry-core
}:
buildPythonPackage rec {
pname = "treeo";
version = "0.0.9";
format = "pyproject";
src = fetchFromGitHub {
owner = "cgarciae";
repo = pname;
rev = version;
sha256 = "0jfqj5150braj4ybnifc6b8mp0w2j93li6bm20lcd7a19qs0lkk2";
};
nativeBuildInputs = [
poetry-core
];
# These deps are not needed for the wheel, but required during the import.
propagatedBuildInputs = [
jax
jaxlib
];
pythonImportsCheck = [
"treeo"
];
meta = with lib; {
description = "A small library for creating and manipulating custom JAX Pytree classes.";
homepage = "https://github.com/cgarciae/treeo";
license = licenses.mit;
maintainers = with maintainers; [ ndl ];
};
}

View File

@ -9784,6 +9784,8 @@ in {
transmissionrpc = callPackage ../development/python-modules/transmissionrpc { };
treeo = callPackage ../development/python-modules/treeo { };
treq = callPackage ../development/python-modules/treq { };
trezor_agent = callPackage ../development/python-modules/trezor_agent { };