Author: ludo
Date: Thu Jul 22 14:01:58 2010
New Revision: 22710
URL: https://svn.nixos.org/websvn/nix/?rev=22710&sc=1

Log:
cpio: Add `meta'.

Modified:
   hydra-config/gnu/trunk/cpio/release.nix

Modified: hydra-config/gnu/trunk/cpio/release.nix
==============================================================================
--- hydra-config/gnu/trunk/cpio/release.nix     Thu Jul 22 13:25:31 2010        
(r22709)
+++ hydra-config/gnu/trunk/cpio/release.nix     Thu Jul 22 14:01:58 2010        
(r22710)
@@ -20,6 +20,29 @@
   pkgs = import nixpkgs {};
   crossSystems = (import ../cross-systems.nix) { inherit pkgs; };
 
+  meta = {
+    homepage = http://www.gnu.org/software/cpio/;
+    description = "GNU cpio, a program to create or extract from cpio 
archives";
+
+    longDescription =
+      '' GNU cpio copies files into or out of a cpio or tar archive.  The
+         archive can be another file on the disk, a magnetic tape, or a pipe.
+
+         GNU cpio supports the following archive formats: binary, old ASCII,
+         new ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1
+         tar.  The tar format is provided for compatability with the tar
+         program.  By default, cpio creates binary format archives, for
+         compatibility with older cpio programs.  When extracting from
+         archives, cpio automatically recognizes which kind of archive it is
+         reading and can read archives created on machines with a different
+         byte-order.
+      '';
+
+    license = "GPLv3+";
+
+    maintainers = [ "Sergey Poznyakoff <[email protected]>" ];
+  };
+
   buildInputsFrom = pkgs: [];
 
   failureHook =
@@ -42,7 +65,7 @@
 
       with pkgs;
 
-      pkgs.releaseTools.makeSourceTarball {
+      pkgs.releaseTools.sourceTarball {
         name = "cpio-tarball";
         src = cpioSrc;
 
@@ -66,6 +89,8 @@
           bison
           automake111x
         ] ++ buildInputsFrom pkgs;
+
+        inherit meta;
       };
 
     build =
@@ -79,7 +104,7 @@
         name = "cpio" ;
         src = tarball;
         buildInputs = buildInputsFrom pkgs;
-        inherit failureHook;
+        inherit failureHook meta;
       };
 
     xbuild_gnu =
@@ -96,6 +121,7 @@
        src = tarball;
         buildInputs = buildInputsFrom pkgs;
         doCheck = false;
+        inherit meta;
       }).hostDrv;
 
   };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to