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/star/default.nix
Normal file
39
pkgs/applications/science/biology/star/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, stdenv, fetchFromGitHub, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "star";
|
||||
version = "2.7.10a";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "STAR";
|
||||
owner = "alexdobin";
|
||||
rev = version;
|
||||
sha256 = "sha256-qwddCGMOKWgx76qGwRQXwvv9fCSeVsZbWHmlBwEqGKE=";
|
||||
};
|
||||
|
||||
sourceRoot = "source/source";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace "/bin/rm" "rm"
|
||||
'';
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
buildFlags = [ "STAR" "STARlong" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D STAR STARlong -t $out/bin
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Spliced Transcripts Alignment to a Reference";
|
||||
homepage = "https://github.com/alexdobin/STAR";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = [ maintainers.arcadio ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue