Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
973 B · 46 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, scipy, torch, pytestCheckHook}:
buildPythonPackage rec { pname = "linear_operator"; version = "0.4.0"; format = "pyproject";
src = fetchFromGitHub { owner = "cornellius-gp"; repo = pname; rev = "v${version}"; hash = "sha256-0f3F3k3xJACbx42jtwsAmjZwPAOfLywZs8VOrwWicc4="; };
postPatch = '' substituteInPlace setup.py \ --replace 'find_version("linear_operator", "version.py")' \"$version\" '';
propagatedBuildInputs = [ scipy torch ];
checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "linear_operator" ]; disabledTests = [ # flaky numerical tests "test_svd" ];
meta = with lib; { description = "A LinearOperator implementation to wrap the numerical nuts and bolts of GPyTorch"; homepage = "https://github.com/cornellius-gp/linear_operator/"; license = licenses.mit; maintainers = with maintainers; [ veprbl ]; };}