Something went wrong. Try again.
lol
Something went wrong. Try again.
953 B · 55 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchFromGitHub, cmake, scikit-build-core, torch, pytestCheckHook, scipy,}:
buildPythonPackage rec { pname = "deepwave"; version = "0.0.26"; pyproject = true;
src = fetchFromGitHub { owner = "ar4"; repo = "deepwave"; tag = "v${version}"; hash = "sha256-gjFbBn7fJiLZUm+97xf6xd7C+OkEoeFe3061tFkJhFk="; };
# Return to project root to locate `pyproject.toml` for build preBuild = '' cd .. '';
nativeBuildInputs = [ cmake ];
build-system = [ scikit-build-core ];
dependencies = [ torch ];
nativeCheckInputs = [ pytestCheckHook scipy ];
pythonImportsCheck = [ "deepwave" ];
meta = { description = "Wave propagation modules for PyTorch"; homepage = "https://github.com/ar4/deepwave"; license = lib.licenses.mit; platforms = lib.intersectLists lib.platforms.x86_64 lib.platforms.linux; maintainers = [ ]; };}