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/applications/science/biology/platypus/default.nix
Normal file
39
pkgs/applications/science/biology/platypus/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{lib, stdenv, fetchFromGitHub, python27, htslib, zlib, makeWrapper}:
|
||||
|
||||
let python = python27.withPackages (ps: with ps; [ cython ]);
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
pname = "platypus-unstable";
|
||||
version = "2018-07-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "andyrimmer";
|
||||
repo = "Platypus";
|
||||
rev = "3e72641c69800da0cd4906b090298e654d316ee1";
|
||||
sha256 = "0nah6r54b8xm778gqyb8b7rsd76z8ji4g73sm6rvpw5s96iib1vw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ htslib python zlib ];
|
||||
|
||||
buildPhase = ''
|
||||
patchShebangs .
|
||||
make
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/libexec/platypus
|
||||
cp -r ./* $out/libexec/platypus
|
||||
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${python}/bin/python $out/bin/platypus --add-flags "$out/libexec/platypus/bin/Platypus.py"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Platypus variant caller";
|
||||
license = licenses.gpl3;
|
||||
homepage = "https://github.com/andyrimmer/Platypus";
|
||||
maintainers = with maintainers; [ jbedo ];
|
||||
platforms = platforms.x86_64;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue