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
70
pkgs/development/python-modules/dipy/default.nix
Normal file
70
pkgs/development/python-modules/dipy/default.nix
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, packaging
|
||||
, pytest
|
||||
, cython
|
||||
, numpy
|
||||
, scipy
|
||||
, h5py
|
||||
, nibabel
|
||||
, tqdm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dipy";
|
||||
version = "1.4.1";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dipy";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0zaqsiq73vprbqbzvzswjfmqgappl5vhpl2fwjrrda33c27klpzj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython packaging ];
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
scipy
|
||||
h5py
|
||||
nibabel
|
||||
tqdm
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
# disable tests for now due to:
|
||||
# - some tests require data download (see dipy/dipy/issues/2092);
|
||||
# - running the tests manually causes a multiprocessing hang;
|
||||
# - import weirdness when running the tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dipy"
|
||||
"dipy.core"
|
||||
"dipy.direction"
|
||||
"dipy.tracking"
|
||||
"dipy.reconst"
|
||||
"dipy.io"
|
||||
"dipy.viz"
|
||||
"dipy.boots"
|
||||
"dipy.data"
|
||||
"dipy.utils"
|
||||
"dipy.segment"
|
||||
"dipy.sims"
|
||||
"dipy.stats"
|
||||
"dipy.denoise"
|
||||
"dipy.workflows"
|
||||
"dipy.nn"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://dipy.org/";
|
||||
description = "Diffusion imaging toolkit for Python";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue