4fa7c297f2
* minimap2: 2.23 -> 2.24 (#153189) * minimap2: no support for aarch64 Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
31 lines
756 B
Nix
31 lines
756 B
Nix
{ lib, stdenv, fetchFromGitHub, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "minimap2";
|
|
version = "2.24";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = pname;
|
|
owner = "lh3";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-sEp7/Y5ifV9LTqrkhlkfykTJYMMuc+VtF7PvmIpBxUw=";
|
|
};
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp minimap2 $out/bin
|
|
mkdir -p $out/share/man/man1
|
|
cp minimap2.1 $out/share/man/man1
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A versatile pairwise aligner for genomic and spliced nucleotide sequences";
|
|
homepage = "https://lh3.github.io/minimap2";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
badPlatforms = platforms.aarch64;
|
|
maintainers = [ maintainers.arcadio ];
|
|
};
|
|
}
|