nixpkgs/pkgs/applications/science/biology/star/default.nix
R. RyanTM 27e05d81a5 star: 2.7.0a -> 2.7.0c
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/star/versions
2019-03-03 20:55:25 +01:00

35 lines
773 B
Nix

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