Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 58 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, stdenv, buildPythonPackage, fetchFromGitHub, future, matplotlib, numpy, pytestCheckHook, pythonOlder, scipy, ezyrb}:
buildPythonPackage rec { pname = "pydmd"; version = "0.4.0.post2302"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "mathLab"; repo = "PyDMD"; rev = "refs/tags/v${version}"; hash = "sha256-EYVmaxwOxje3KVrNbvsjwRqQBD7Rje/JK+qB1F7EqA0="; };
propagatedBuildInputs = [ future matplotlib numpy scipy ezyrb ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ # test suite takes over 100 vCPU hours, just run small subset of it. # TODO: Add a passthru.tests with all tests "tests/test_dmdbase.py" ];
pythonImportsCheck = [ "pydmd" ];
meta = with lib; { description = "Python Dynamic Mode Decomposition"; homepage = "https://mathlab.github.io/PyDMD/"; changelog = "https://github.com/mathLab/PyDMD/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ yl3dy ]; broken = stdenv.hostPlatform.isAarch64; };}