Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub,
# tests setuptools,
# dependencies pyvers, torch,
# tests pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "hoptorch"; version = "0.1.4"; pyproject = true; __structuredAttrs = true;
src = fetchFromGitHub { owner = "vmoens"; repo = "hoptorch"; tag = "v${finalAttrs.version}"; hash = "sha256-rhX81MidgltQ2YQtUdYoK1Qtz7N7x9MpZIKDlZzN+vg="; };
build-system = [ setuptools ];
dependencies = [ pyvers torch ];
pythonImportsCheck = [ "hoptorch" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "Small compatibility package for PyTorch higher-order operators"; homepage = "https://github.com/vmoens/hoptorch"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; };})