2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2019-04-29 12:18:04 +01: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 04:45:21 +01:00
|
|
|
$CC -O3 -ffast-math -finline-functions -o aragorn aragorn${version}.c
|
2019-04-29 12:18:04 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin && cp aragorn $out/bin
|
|
|
|
mkdir -p $out/man/1 && cp aragorn.1 $out/man/1
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-04-29 12:18:04 +01:00
|
|
|
description = "Detects tRNA, mtRNA, and tmRNA genes in nucleotide sequences";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://mbio-serv2.mbioekol.lu.se/ARAGORN/";
|
2019-04-29 12:18:04 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.bzizou ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|