2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "minimap2";
|
2022-01-19 23:45:15 +00:00
|
|
|
version = "2.24";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = pname;
|
|
|
|
owner = "lh3";
|
|
|
|
rev = "v${version}";
|
2022-01-19 23:45:15 +00:00
|
|
|
sha256 = "sha256-sEp7/Y5ifV9LTqrkhlkfykTJYMMuc+VtF7PvmIpBxUw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp minimap2 $out/bin
|
|
|
|
mkdir -p $out/share/man/man1
|
|
|
|
cp minimap2.1 $out/share/man/man1
|
|
|
|
'';
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A versatile pairwise aligner for genomic and spliced nucleotide sequences";
|
|
|
|
homepage = "https://lh3.github.io/minimap2";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2022-01-19 23:45:15 +00:00
|
|
|
badPlatforms = platforms.aarch64;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.arcadio ];
|
|
|
|
};
|
|
|
|
}
|