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
34
pkgs/applications/science/biology/minc-widgets/default.nix
Normal file
34
pkgs/applications/science/biology/minc-widgets/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper,
|
||||
perlPackages,
|
||||
libminc, octave, coreutils, minc_tools }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "minc-widgets";
|
||||
name = "${pname}-2016-04-20";
|
||||
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BIC-MNI";
|
||||
repo = pname;
|
||||
rev = "f08b643894c81a1a2e0fbfe595a17a42ba8906db";
|
||||
sha256 = "1b9g6lf37wpp211ikaji4rf74rl9xcmrlyqcw1zq3z12ji9y33bm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake makeWrapper ];
|
||||
buildInputs = [ libminc ];
|
||||
propagatedBuildInputs = (with perlPackages; [ perl GetoptTabular MNI-Perllib ]) ++ [ octave coreutils minc_tools ];
|
||||
|
||||
postFixup = ''
|
||||
for p in $out/bin/*; do
|
||||
wrapProgram $p --prefix PERL5LIB : $PERL5LIB --set PATH "${lib.makeBinPath [ coreutils minc_tools ]}";
|
||||
done
|
||||
'';
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue