26b492b207
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/minimap2/versions
31 lines
753 B
Nix
31 lines
753 B
Nix
{ stdenv, fetchFromGitHub, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "minimap2";
|
|
version = "2.14";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = pname;
|
|
owner = "lh3";
|
|
rev = "v${version}";
|
|
sha256 = "0743qby7ghyqbka5c1z3bi4kr5whm07jasw2pg8gikyibz6q4lih";
|
|
};
|
|
|
|
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 stdenv.lib; {
|
|
description = "A versatile pairwise aligner for genomic and spliced nucleotide sequences";
|
|
homepage = https://lh3.github.io/minimap2;
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.arcadio ];
|
|
};
|
|
}
|