diff --git a/pkgs/development/interpreters/r-lang/default.nix b/pkgs/development/interpreters/r-lang/default.nix index 1c86ed6c5741..8cf7cce28806 100644 --- a/pkgs/development/interpreters/r-lang/default.nix +++ b/pkgs/development/interpreters/r-lang/default.nix @@ -8,6 +8,7 @@ stdenv.mkDerivation { }; buildInputs = [readline perl gfortran libpng libX11 libXt zlib]; + configureFlags = ["--enable-R-shlib"] ; meta = { description = "R is a language and environment for statistical computing and graphics"; @@ -16,3 +17,5 @@ stdenv.mkDerivation { homepage = http://www.r-project.org/; }; } + + diff --git a/pkgs/development/libraries/science/biology/biolib/default.nix b/pkgs/development/libraries/science/biology/biolib/default.nix new file mode 100644 index 000000000000..cb18a8509bf0 --- /dev/null +++ b/pkgs/development/libraries/science/biology/biolib/default.nix @@ -0,0 +1,21 @@ +args: with args; + +stdenv.mkDerivation rec { + name = "biolib"; + version = "0.0.1"; + src = fetchurl { + url = "http://bio3.xparrot.eu/download/nix-biology/biolib-${version}.tar.gz"; + sha256 = "1la639rs0v4f3ayvarqv0yxwlnwn188bb1v71d2ybw1xr6gdy688"; + }; + + buildInputs = [cmake rLang zlib]; + + meta = { + description = "BioLib"; + longDescription = ''BioLib brings together a set of opensource libraries +written in C/C++ and makes them available for major Bio* languages: BioPerl, +BioRuby, BioPython''; + license = "GPL2"; + homepage = http://biolib.open-bio.org/; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3df30dd06bdf..f38c475b083a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7200,6 +7200,11 @@ let pkgs = rec { inherit libxml2 guile perl intltool libtool pkgconfig; } null; + + biolib = import ../development/libraries/science/biology/biolib { + inherit fetchurl stdenv readline perl cmake rLang zlib; + }; + emboss = import ../applications/science/biology/emboss { inherit fetchurl stdenv readline perl libpng zlib; inherit (xorg) libX11 libXt;