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

29 lines
774 B
Nix
Raw Normal View History

{ 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 = ''
$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
'';
meta = with lib; {
2019-04-29 12:18:04 +01:00
description = "Detects tRNA, mtRNA, and tmRNA genes in nucleotide sequences";
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;
};
}