2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2019-04-29 13:18:04 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.2.38";
|
|
|
|
pname = "aragorn";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mbio-serv2.mbioekol.lu.se/ARAGORN/Downloads/${pname}${version}.tgz";
|
|
|
|
sha256 = "09i1rg716smlbnixfm7q1ml2mfpaa2fpn3hwjg625ysmfwwy712b";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = ''
|
2020-09-24 05:45:21 +02:00
|
|
|
$CC -O3 -ffast-math -finline-functions -o aragorn aragorn${version}.c
|
2019-04-29 13:18:04 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin && cp aragorn $out/bin
|
|
|
|
mkdir -p $out/man/1 && cp aragorn.1 $out/man/1
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-04-29 13:18:04 +02:00
|
|
|
description = "Detects tRNA, mtRNA, and tmRNA genes in nucleotide sequences";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://mbio-serv2.mbioekol.lu.se/ARAGORN/";
|
2019-04-29 13:18:04 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.bzizou ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|