3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/biology/minimap2/default.nix

31 lines
718 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, zlib }:
2018-05-14 21:26:07 +01:00
stdenv.mkDerivation rec {
pname = "minimap2";
2021-08-14 16:55:35 +01:00
version = "2.22";
2018-05-14 21:26:07 +01:00
src = fetchFromGitHub {
repo = pname;
owner = "lh3";
rev = "v${version}";
2021-08-14 16:55:35 +01:00
sha256 = "sha256-jYXJr2T1enZfSABVV5Kmd5OBtWZtQ2D/2eAlW2WHtGU=";
2018-05-14 21:26:07 +01: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
'';
meta = with lib; {
2018-05-14 21:26:07 +01:00
description = "A versatile pairwise aligner for genomic and spliced nucleotide sequences";
homepage = "https://lh3.github.io/minimap2";
2018-05-14 21:26:07 +01:00
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.arcadio ];
};
}