summary refs log tree commit diff
path: root/pkgs/tools/archivers
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-10-31 19:30:31 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-10-31 19:30:31 +0000
commitf4f84af4abf9fc2cbc8cbe1ace9ed12eb5e7d4b9 (patch)
treeb848c6eeae6f700fffe342fce3c1b3d90321d37e /pkgs/tools/archivers
parent0eb331fdc98013676bed6382a847248b244ed8c2 (diff)
parenta608761679df2b291dac0d8754d1fd6a94498205 (diff)
Updating from trunk. I only had to take away the usual stdenv2 in
all-packages.nix


svn path=/nixpkgs/branches/stdenv-updates/; revision=24553
Diffstat (limited to 'pkgs/tools/archivers')
-rw-r--r--pkgs/tools/archivers/unarj/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/unarj/default.nix b/pkgs/tools/archivers/unarj/default.nix
new file mode 100644
index 0000000000000..7a15514a7287a
--- /dev/null
+++ b/pkgs/tools/archivers/unarj/default.nix
@@ -0,0 +1,20 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation rec {
+  name = "unarj-2.63a";
+  
+  src = fetchurl {
+    url = http://www.ibiblio.org/pub/Linux/utils/compress/unarj-2.63a.tar.gz;
+    sha256 = "0j4sn57fq2p23pcq4ck06pm618q4vq09wgm89ilfn4c9l9x2ky1k";
+  };
+
+  preInstall = ''
+    ensureDir $out/bin
+    sed -i -e s,/usr/local/bin,$out/bin, Makefile
+  '';
+
+  meta = {
+    description = "Unarchiver of ARJ files";
+    license = "free";
+  };
+}