uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
55
pkgs/development/python-modules/pydmd/default.nix
Normal file
55
pkgs/development/python-modules/pydmd/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, future
|
||||
, matplotlib
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, scipy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydmd";
|
||||
version = "0.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mathLab";
|
||||
repo = "PyDMD";
|
||||
rev = "v${version}";
|
||||
sha256 = "1qwa3dyrrm20x0pzr7rklcw7433fd822n4m8bbbdd7z83xh6xm8g";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
future
|
||||
matplotlib
|
||||
numpy
|
||||
scipy
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
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/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ yl3dy ];
|
||||
broken = stdenv.hostPlatform.isAarch64;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue