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
67
pkgs/development/python-modules/clifford/default.nix
Normal file
67
pkgs/development/python-modules/clifford/default.nix
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, h5py
|
||||
, ipython
|
||||
, numba
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, scipy
|
||||
, sparse
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "clifford";
|
||||
version = "1.4.0";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-eVE8FrD0YHoRreY9CrNb8v4v4KrG83ZU0oFz+V+p+Q0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
h5py
|
||||
numba
|
||||
numpy
|
||||
scipy
|
||||
sparse
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
ipython
|
||||
];
|
||||
|
||||
# avoid collecting local files
|
||||
preCheck = ''
|
||||
cd clifford/test
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
"veryslow"
|
||||
"test_algebra_initialisation"
|
||||
"test_cga"
|
||||
"test_grade_projection"
|
||||
"test_multiple_grade_projection"
|
||||
"test_inverse"
|
||||
"test_inv_g4"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Disable failing tests
|
||||
"test_g3c_tools.py"
|
||||
"test_multivector_inverse.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "clifford" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Numerical Geometric Algebra Module";
|
||||
homepage = "https://clifford.readthedocs.io";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue