1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

star: 2.7.0f -> 2.7.1a (#62577)

* star: 2.7.0f -> 2.7.1a

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

* star: cleanup
This commit is contained in:
R. RyanTM 2019-06-06 09:10:34 -07:00 committed by Renaud
parent 73679b51f4
commit 8ebf0eefbe

View file

@ -1,32 +1,37 @@
{ stdenv, fetchFromGitHub, zlib }: { stdenv, fetchFromGitHub, zlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "star-${version}"; pname = "star";
version = "2.7.0f"; version = "2.7.1a";
src = fetchFromGitHub { src = fetchFromGitHub {
repo = "STAR"; repo = "STAR";
owner = "alexdobin"; owner = "alexdobin";
rev = version; rev = version;
sha256 = "0ndqlyimf7xf00nghn8awg12pw985ixghiypg98r2gdm7pscgd0i"; sha256 = "0n6g4s4hgw7qygs1z97j7a2dgz8gfaa4cv5pjvvvmarvk0x07hyg";
}; };
sourceRoot = "source/source"; sourceRoot = "source/source";
postPatch = "sed 's:/bin/rm:rm:g' -i Makefile"; postPatch = ''
substituteInPlace Makefile --replace "/bin/rm" "rm"
'';
buildInputs = [ zlib ]; buildInputs = [ zlib ];
buildPhase = "make STAR STARlong"; buildFlags = [ "STAR" "STARlong" ];
enableParallelBuilding = true;
installPhase = '' installPhase = ''
mkdir -p $out/bin runHook preInstall
cp STAR STARlong $out/bin install -D STAR STARlong -t $out/bin
runHook postInstall
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Spliced Transcripts Alignment to a Reference"; description = "Spliced Transcripts Alignment to a Reference";
homepage = https://github.com/alexdobin/STAR; homepage = "https://github.com/alexdobin/STAR";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.arcadio ]; maintainers = [ maintainers.arcadio ];