nixpkgs/pkgs/applications/science/molecular-dynamics/viennarna/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
866 B
Nix
Raw Normal View History

2021-04-27 12:17:35 +02:00
{ lib
, stdenv
2021-01-02 13:14:36 +01:00
, fetchurl
, gsl
, mpfr
, perl
, python3
}:
stdenv.mkDerivation rec {
pname = "ViennaRNA";
2021-04-27 12:17:35 +02:00
version = "2.4.18";
2021-01-02 13:14:36 +01:00
src = fetchurl {
url = "https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_4_x/${pname}-${version}.tar.gz";
2021-04-27 12:17:35 +02:00
sha256 = "17b0mcfkms0gn1a3faa4cakig65k9nk282x6mdh1mmjwbqzp5akw";
2021-01-02 13:14:36 +01:00
};
buildInputs = [
gsl
mpfr
perl
python3
];
configureFlags = [
"--with-cluster"
"--with-kinwalker"
];
meta = with lib; {
2021-01-02 13:14:36 +01: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;
2021-04-27 12:17:35 +02:00
# Perl bindings fail on aarch64-darwin with "Undefined symbols for architecture arm64"
broken = stdenv.isDarwin && stdenv.isAarch64;
2021-01-02 13:14:36 +01:00
};
}