Author: urkud
Date: 2010-07-03 08:06:01 +0000 (Sat, 03 Jul 2010)
New Revision: 22444

You can view the changes in this commit at:
   https://svn.nixos.org/viewvc/nix?rev=22444&view=rev

Added:
   nixpkgs/trunk/pkgs/tools/misc/convmv/
   nixpkgs/trunk/pkgs/tools/misc/convmv/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Log:
Add convmv

Changes:

Added: nixpkgs/trunk/pkgs/tools/misc/convmv/default.nix
===================================================================
--- nixpkgs/trunk/pkgs/tools/misc/convmv/default.nix                            
(rev 0)
+++ nixpkgs/trunk/pkgs/tools/misc/convmv/default.nix    2010-07-03 08:06:01 UTC 
(rev 22444)
@@ -0,0 +1,29 @@
+{ stdenv, fetchurl, perl }:
+
+stdenv.mkDerivation rec {
+  name = "convmv-1.14";
+
+  src = fetchurl {
+    url = "http://www.j3e.de/linux/convmv/${name}.tar.gz";;
+    sha256 = "1vvwrbys5kkfpn6kvn0sj3hls5v03d6gr7j7d5phbj8p9bigb5cn";
+  };
+
+  preBuild=''
+    makeFlags="PREFIX=$out"
+  '';
+
+  patchPhase=''
+    tar -xf testsuite.tar
+    patchShebangs .
+  '';
+
+  doCheck = true;
+  checkTarget = "test";
+
+  buildInputs = [ perl ];
+
+  meta = with stdenv.lib; {
+    platforms = platforms.all;
+    maintainers = [ maintainers.urkud ];
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
===================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       2010-07-02 21:44:36 UTC 
(rev 22443)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       2010-07-03 08:06:01 UTC 
(rev 22444)
@@ -555,6 +555,10 @@
     inherit fetchurl stdenv ppl;
   };
 
+  convmv = import ../tools/misc/convmv {
+    inherit stdenv fetchurl perl;
+  };
+
   coreutils_real = makeOverridable (if stdenv ? isDietLibC
       then import ../tools/misc/coreutils-5
       else import ../tools/misc/coreutils)

_______________________________________________
nix-commits mailing list
nix-comm...@cs.uu.nl
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to