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/sambamba/default.nix
Normal file
39
pkgs/applications/science/biology/sambamba/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
, which
|
||||
, ldc
|
||||
, zlib
|
||||
, lz4
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sambamba";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "biod";
|
||||
repo = "sambamba";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-FEa9QjQoGNUOAtMNMZcqpTKMKVtXoBuOomTy0mpos/0=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ which python3 ldc ];
|
||||
buildInputs = [ zlib lz4 ];
|
||||
|
||||
# Upstream's install target is broken; copy manually
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp bin/sambamba-${version} $out/bin/sambamba
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "SAM/BAM processing tool";
|
||||
homepage = "https://lomereiter.github.io/sambamba/";
|
||||
maintainers = with maintainers; [ jbedo ];
|
||||
license = with licenses; gpl2;
|
||||
platforms = platforms.x86_64;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue