diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-12-17 19:13:42 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-12-17 20:02:11 +0100 |
commit | 595036d9f9242ffe7adf6a20a2833342ba35a041 (patch) | |
tree | b4f30ed8bba1d5d83989a0b5ed28354a890eed82 | |
parent | 328dd9b7c2030dfb66013e12f055b5b449c94007 (diff) | |
download | patches-595036d9f9242ffe7adf6a20a2833342ba35a041.tar patches-595036d9f9242ffe7adf6a20a2833342ba35a041.tar.gz |
gnu: Add libsbml.
* gnu/packages/bioinformatics.scm (libsbml): New variable.
-rw-r--r-- | gnu/packages/bioinformatics.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 3215a155f1..528b603476 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -15435,3 +15435,41 @@ files are loaded into a SQLite database, allowing much more complex manipulation of hierarchical features (e.g., genes, transcripts, and exons) than is possible with plain-text methods alone.") (license license:expat)))) + +(define-public libsbml + (package + (name "libsbml") + (version "5.18.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/sbml/libsbml/" + version "/stable/libSBML-" + version "-core-src.tar.gz")) + (sha256 + (base32 + "0slkagrk3nfi2qsksv6b1brj6zhx4bj4bkib2sdycvrcd10ql2lh")))) + (build-system cmake-build-system) + (arguments + `(#:test-target "test" + #:configure-flags + (list "-DWITH_CHECK=ON" + (string-append "-DLIBXML_LIBRARY=" + (assoc-ref %build-inputs "libxml2") + "/lib/libxml2.so") + (string-append "-DLIBXML_INCLUDE_DIR=" + (assoc-ref %build-inputs "libxml2") + "/include/libxml2")))) + (propagated-inputs + `(("libxml2" ,libxml2))) + (native-inputs + `(("check" ,check) + ("swig" ,swig))) + (home-page "http://sbml.org/Software/libSBML") + (synopsis "Process SBML files and data streams") + (description "LibSBML is a library to help you read, write, manipulate, +translate, and validate SBML files and data streams. The @dfn{Systems Biology +Markup Language} (SBML) is an interchange format for computer models of +biological processes. SBML is useful for models of metabolism, cell +signaling, and more. It continues to be evolved and expanded by an +international community.") + (license license:lgpl2.1+))) |