2021-05-28 09:39:13 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2021-01-05 17:05:55 +00:00
|
|
|
, fetchurl
|
|
|
|
, gsl
|
|
|
|
, mpfr
|
|
|
|
, perl
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-10-09 19:29:22 +00:00
|
|
|
pname = "viennarna";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "2.5.1";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-10-09 19:29:22 +00:00
|
|
|
url = "https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_5_x/ViennaRNA-${version}.tar.gz";
|
2022-12-17 10:02:37 +00:00
|
|
|
sha256 = "sha256-BUAEN88VWV4QsaJd9snEiFbzVhMPnR44D6iGa20n9Fc=";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gsl
|
|
|
|
mpfr
|
|
|
|
perl
|
|
|
|
python3
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-cluster"
|
|
|
|
"--with-kinwalker"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-05 17:05:55 +00:00
|
|
|
description = "Prediction and comparison of RNA secondary structures";
|
|
|
|
homepage = "https://www.tbi.univie.ac.at/RNA/";
|
|
|
|
license = licenses.unfree;
|
|
|
|
maintainers = with maintainers; [ prusnak ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|