nixpkgs/pkgs/by-name/st/star/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
863 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, zlib }:
2018-01-22 18:27:50 +00:00
stdenv.mkDerivation rec {
pname = "star";
2023-01-14 06:06:52 +00:00
version = "2.7.10b";
2018-01-22 18:27:50 +00:00
src = fetchFromGitHub {
repo = "STAR";
owner = "alexdobin";
rev = version;
2023-01-14 06:06:52 +00:00
sha256 = "sha256-58Y4lzqXwBhRlXcionUg2IhAg5znNUuyr/FsuNZd+5Q=";
2018-01-22 18:27:50 +00:00
};
sourceRoot = "${src.name}/source";
postPatch = ''
substituteInPlace Makefile --replace "/bin/rm" "rm"
'';
2018-01-22 18:27:50 +00:00
buildInputs = [ zlib ];
buildFlags = [ "STAR" "STARlong" ];
enableParallelBuilding = true;
2018-01-22 18:27:50 +00:00
installPhase = ''
runHook preInstall
install -D STAR STARlong -t $out/bin
runHook postInstall
2018-01-22 18:27:50 +00:00
'';
meta = with lib; {
2018-01-22 18:27:50 +00:00
description = "Spliced Transcripts Alignment to a Reference";
homepage = "https://github.com/alexdobin/STAR";
2018-01-22 18:27:50 +00:00
license = licenses.gpl3Plus;
2021-08-18 02:51:12 +01:00
platforms = [ "x86_64-linux" ];
2018-01-22 18:27:50 +00:00
maintainers = [ maintainers.arcadio ];
};
}