Hi !

Here is the nix expression for monotone (the distributed version control system).

The last version (0.38) built, installed and run correctly here.
This is my first nix expression though, so feel free to criticize on what can be improved :)

Best regards,

 Cyril
Index: applications/version-management/monotone/default.nix
===================================================================
--- applications/version-management/monotone/default.nix	(revision 0)
+++ applications/version-management/monotone/default.nix	(revision 0)
@@ -0,0 +1,10 @@
+{stdenv, fetchurl, boost, zlib}:
+
+stdenv.mkDerivation {
+  name = "monotone-0.38";
+  src = fetchurl {
+    url = http://monotone.ca/downloads/0.38/monotone-0.38.tar.gz;
+    md5 = "c1a0d2619f451a664289b042c104860d";
+  };
+  buildInputs = [boost zlib];
+}
Index: top-level/all-packages.nix
===================================================================
--- top-level/all-packages.nix	(revision 10121)
+++ top-level/all-packages.nix	(working copy)
@@ -1129,6 +1129,10 @@
     inherit stdenv perl;
   };
 
+  monotone = import ../applications/version-management/monotone {
+    inherit stdenv fetchurl boost zlib;
+  };
+
   nasm = import ../development/compilers/nasm {
     inherit fetchurl stdenv;
   };
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to