python3Packages.tensordict: 0.9.0 -> 0.9.1 (#425091)
This commit is contained in:
commit
c1f35c2733
55
pkgs/development/python-modules/pyvers/default.nix
Normal file
55
pkgs/development/python-modules/pyvers/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
|
||||
# dependencies
|
||||
packaging,
|
||||
|
||||
# tests
|
||||
jax,
|
||||
numpy,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyvers";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vmoens";
|
||||
repo = "pyvers";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-BUUfb0vI1r/VV5aF9gmqnXGOIWQfBJ98MrcF/IH5CEs=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
packaging
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyvers" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
jax
|
||||
numpy
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python library for dynamic dispatch based on module versions and backends";
|
||||
homepage = "https://github.com/vmoens/pyvers";
|
||||
changelog = "https://github.com/vmoens/pyvers/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
@ -19,6 +19,7 @@
|
||||
numpy,
|
||||
orjson,
|
||||
packaging,
|
||||
pyvers,
|
||||
torch,
|
||||
|
||||
# tests
|
||||
@ -28,14 +29,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tensordict";
|
||||
version = "0.9.0";
|
||||
version = "0.9.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pytorch";
|
||||
repo = "tensordict";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-actBFzWb2JBPsLhRZiD6zRpk7eyX2OHUPMU9JpJ90Wc=";
|
||||
hash = "sha256-OdS9dw/BtSLZuY857O2njlFOMQj5IJ6v9c2aRP+H1Hc=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@ -56,6 +57,7 @@ buildPythonPackage rec {
|
||||
numpy
|
||||
orjson
|
||||
packaging
|
||||
pyvers
|
||||
torch
|
||||
];
|
||||
|
||||
|
@ -14945,6 +14945,8 @@ self: super: with self; {
|
||||
|
||||
pyverilog = callPackage ../development/python-modules/pyverilog { };
|
||||
|
||||
pyvers = callPackage ../development/python-modules/pyvers { };
|
||||
|
||||
pyversasense = callPackage ../development/python-modules/pyversasense { };
|
||||
|
||||
pyvesync = callPackage ../development/python-modules/pyvesync { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user