depot/third_party/nixpkgs/pkgs/applications/science/molecular-dynamics/viennarna/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

38 lines
723 B
Nix

{ lib
, stdenv
, fetchurl
, gsl
, mpfr
, perl
, python3
}:
stdenv.mkDerivation rec {
pname = "ViennaRNA";
version = "2.5.1";
src = fetchurl {
url = "https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_5_x/${pname}-${version}.tar.gz";
sha256 = "sha256-BUAEN88VWV4QsaJd9snEiFbzVhMPnR44D6iGa20n9Fc=";
};
buildInputs = [
gsl
mpfr
perl
python3
];
configureFlags = [
"--with-cluster"
"--with-kinwalker"
];
meta = with lib; {
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;
};
}