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
30
pkgs/applications/science/biology/EZminc/default.nix
Normal file
30
pkgs/applications/science/biology/EZminc/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libminc, bicpl, itk4, fftwFloat, gsl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "EZminc";
|
||||
version = "unstable-2019-03-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BIC-MNI";
|
||||
repo = pname;
|
||||
rev = "5e3333ee356f914d34d66d33ea8df809c7f7fa51";
|
||||
sha256 = "0wy8cppf5xpgfqvgb3mqs1cjh81n6qzkk6zxv29wvng8nar9wsy4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ itk4 libminc bicpl fftwFloat gsl ];
|
||||
|
||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/cmake"
|
||||
"-DEZMINC_BUILD_TOOLS=TRUE"
|
||||
"-DEZMINC_BUILD_MRFSEG=TRUE"
|
||||
"-DEZMINC_BUILD_DD=TRUE" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/BIC-MNI/${pname}";
|
||||
description = "Collection of Perl and shell scripts for processing MINC files";
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.free;
|
||||
broken = true; # ITK5 compatibility issue (https://github.com/BIC-MNI/EZminc/issues/15)
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue