nixpkgs/pkgs/applications/science/biology/star/default.nix
R. RyanTM 87481c2ff1 star: 2.6.1c -> 2.6.1d
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
2018-12-14 01:07:34 -08:00

35 lines
773 B
Nix

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