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
39
pkgs/development/python-modules/dcmstack/default.nix
Normal file
39
pkgs/development/python-modules/dcmstack/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonAtLeast
|
||||
, nose
|
||||
, nibabel
|
||||
, pydicom
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dcmstack";
|
||||
version = "0.8";
|
||||
|
||||
disabled = pythonAtLeast "3.8";
|
||||
# https://github.com/moloney/dcmstack/issues/67
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "moloney";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1n24pp3rqz7ss1z6276fxynnppraxadbl3b9p8ijrcqnpzbzih7p";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ nibabel pydicom ];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
nosetests
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/moloney/dcmstack";
|
||||
description = "DICOM to Nifti conversion preserving metadata";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue