blob: 3458638473777af4c9068ad4cbdbd697fa3a6ab2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib, stdenv, fetchFromGitHub, zlib }:
stdenv.mkDerivation rec {
pname = "star";
version = "2.7.7a";
src = fetchFromGitHub {
repo = "STAR";
owner = "alexdobin";
rev = version;
sha256 = "sha256-0K49yjcnTzC56ZIB20OeTiMJ5EW8mRx+xEpyWEfFcts=";
};
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 = platforms.linux;
maintainers = [ maintainers.arcadio ];
};
}
|