summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2021-01-04 18:04:56 +0100
committerGitHub <noreply@github.com>2021-01-04 18:04:56 +0100
commitbf77245202a01e542a38ba74a8800b80070eb28f (patch)
tree367446820c9644306813cffe291aa9666ae25e4d /pkgs/applications/science
parent1a57d96edd156958b12782e8c8b6a374142a7248 (diff)
parentcb0b77e2f5d4785feb98a067cffc369bfe2aa5ad (diff)
Merge pull request #108219 from prusnak/viennarna
ViennaRNA: init at 2.4.17
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/molecular-dynamics/viennarna/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/science/molecular-dynamics/viennarna/default.nix b/pkgs/applications/science/molecular-dynamics/viennarna/default.nix
new file mode 100644
index 000000000000..a68feaea1ef5
--- /dev/null
+++ b/pkgs/applications/science/molecular-dynamics/viennarna/default.nix
@@ -0,0 +1,37 @@
+{ stdenv
+, fetchurl
+, gsl
+, mpfr
+, perl
+, python3
+}:
+
+stdenv.mkDerivation rec {
+ pname = "ViennaRNA";
+ version = "2.4.17";
+
+ src = fetchurl {
+ url = "https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_4_x/${pname}-${version}.tar.gz";
+ sha256 = "08f1h2a8fn1s2zwf1244smiydhgwxgcnzy6irpdlmpvwygv0irmi";
+ };
+
+ buildInputs = [
+ gsl
+ mpfr
+ perl
+ python3
+ ];
+
+ configureFlags = [
+ "--with-cluster"
+ "--with-kinwalker"
+ ];
+
+ meta = with stdenv.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;
+ };
+}