[Nix-dev] Re: Creating a BIOLOGY section

Pjotr Prins pjotr2008 at thebird.nl
Wed Apr 9 11:32:22 CEST 2008


attached a diff for building clustalw2 - this OK? The package is
named clustalw2 - the same name as the binary.

Do I add a description somewhere - I see very little of that in the
package system (which I think is quite OK).

Do I need a svn account, or do I keep sending diffs?

Pj.
-------------- next part --------------
diff -r b04d96cec766 pkgs/top-level/all-packages.nix
--- a/pkgs/top-level/all-packages.nix	Wed Apr 09 11:04:26 2008 +0200
+++ b/pkgs/top-level/all-packages.nix	Wed Apr 09 11:23:29 2008 +0200
@@ -5921,6 +5921,12 @@ let pkgs = rec {
     recordingSupport = true;
   };
 
+  ### SCIENTIFIC APPLICATIONS
+
+  clustalw2 = import ../applications/science/biology/clustalw2 {
+    inherit fetchurl stdenv;
+  };
+
 
   ### GAMES
 
diff -r b04d96cec766 pkgs/applications/science/biology/clustalw2/default.nix
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgs/applications/science/biology/clustalw2/default.nix	Wed Apr 09 11:25:57 2008 +0200
@@ -0,0 +1,11 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation {
+  name = "clustalw2-2.0.5";
+  src = fetchurl {
+    url = ftp://ftp.ebi.ac.uk/pub/software/clustalw2/clustalw-2.0.5-src.tar.gz;
+    md5 = "f18a332a61f9cd90fc7c88e122ef7487";
+  };
+
+  buildInputs = [];
+}


More information about the nix-dev mailing list