Fixed Spacing.

Arthur

On 6/1/11 9:52 AM, Marc Weber wrote:
Excerpts from Arthur Smyles's message of Wed Jun 01 00:43:39 +0200 2011:
+stdenv.mkDerivation rec {
+        name = "zeromq-2.1.7";
convention is to use 2 spaces as indentation.
If you're using Vim install vimConfigurable or get vim-addon-nix.
Both add additional VimL code setting this properly.

This is a minor issue only.

Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Index: pkgs/development/libraries/zeromq/default.nix
===================================================================
--- pkgs/development/libraries/zeromq/default.nix       (revision 0)
+++ pkgs/development/libraries/zeromq/default.nix       (revision 0)
@@ -0,0 +1,17 @@
+{ stdenv, fetchurl, libuuid}:
+
+stdenv.mkDerivation rec {
+  name = "zeromq-2.1.7";
+  src = fetchurl {
+    url = "http://download.zeromq.org/${name}.tar.gz";;
+    sha256 = 
"2a1416d0a3ea55ae17d43417fd9bd193412cc9101e144bc8d3bd19fe36816e0d";
+  };
+
+  buildInputs = [ libuuid ];
+
+  meta = {
+    description = "ZeroMQ is a brokerless messaging kernel with extremely high 
performance.";
+    homepage = http://www.zeromq.org ;
+    license = stdenv.lib.licenses.lgpl3;
+  };
+}
Index: pkgs/top-level/all-packages.nix
===================================================================
--- pkgs/top-level/all-packages.nix     (revision 27316)
+++ pkgs/top-level/all-packages.nix     (working copy)
@@ -4404,6 +4404,8 @@
     inherit ncurses flex bison autoconf automake m4 coreutils;
   };
 
+  zeromq = callPackage ../development/libraries/zeromq { };
+
   zlib = callPackage ../development/libraries/zlib {
     fetchurl = fetchurlBoot;
   };
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to