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
43
pkgs/applications/science/biology/strelka/default.nix
Normal file
43
pkgs/applications/science/biology/strelka/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{lib, stdenv, fetchFromGitHub, cmake, zlib, python2}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "strelka";
|
||||
version = "2.9.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Illumina";
|
||||
repo = "strelka";
|
||||
rev = "v${version}";
|
||||
sha256 = "1nykbmim1124xh22nrhrsn8xgjb3s2y7akrdapn9sl1gdych4ppf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ zlib python2 ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-Wno-error=maybe-uninitialized"
|
||||
"-Wno-error=pessimizing-move"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's|/usr/bin/env python|${python2}/bin/python|' src/python/lib/makeRunScript.py
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
pushd $out/lib/python/pyflow
|
||||
sed -i 's|/bin/bash|${stdenv.shell}|' pyflowTaskWrapper.py
|
||||
rm pyflowTaskWrapper.pyc
|
||||
echo "import pyflowTaskWrapper" | python2
|
||||
popd
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Germline and small variant caller";
|
||||
license = licenses.gpl3;
|
||||
homepage = "https://github.com/Illumina/strelka";
|
||||
maintainers = with maintainers; [ jbedo ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue