3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/biology/star/default.nix

35 lines
773 B
Nix
Raw Normal View History

2018-01-22 18:27:50 +00:00
{ stdenv, fetchFromGitHub, zlib }:
stdenv.mkDerivation rec {
name = "star-${version}";
2018-05-15 14:09:06 +01:00
version = "2.6.0c";
2018-01-22 18:27:50 +00:00
src = fetchFromGitHub {
repo = "STAR";
owner = "alexdobin";
rev = version;
2018-05-15 14:09:06 +01:00
sha256 = "04cj6jw8d9q6lk9c78wa4fky6jdlicf1d13plq7182h8vqiz8p59";
2018-01-22 18:27:50 +00:00
};
sourceRoot = "source/source";
postPatch = "sed 's:/bin/rm:rm:g' -i Makefile";
buildInputs = [ zlib ];
buildPhase = "make STAR STARlong";
installPhase = ''
mkdir -p $out/bin
cp STAR STARlong $out/bin
'';
meta = with stdenv.lib; {
description = "Spliced Transcripts Alignment to a Reference";
homepage = https://github.com/alexdobin/STAR;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.arcadio ];
};
}