nixpkgs/pkgs/applications/science/biology/star/default.nix
R. RyanTM c4e8db3de0 star: 2.6.0c -> 2.6.1a (#46176)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
star
2018-09-12 22:49:12 +02:00

34 lines
773 B
Nix

{ stdenv, fetchFromGitHub, zlib }:
stdenv.mkDerivation rec {
name = "star-${version}";
version = "2.6.1a";
src = fetchFromGitHub {
repo = "STAR";
owner = "alexdobin";
rev = version;
sha256 = "11zs32d96gpjldrylz3nr5r2qrshf0nmzh5nmcy4wrk7y5lz81xc";
};
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 ];
};
}