From 3592b9a7969ac8f6ab6b44dba137ab37cb75a765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 23 Oct 2010 14:55:14 +0000 Subject: [PATCH] Adding unarj svn path=/nixpkgs/trunk/; revision=24430 --- pkgs/tools/archivers/unarj/default.nix | 20 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/tools/archivers/unarj/default.nix diff --git a/pkgs/tools/archivers/unarj/default.nix b/pkgs/tools/archivers/unarj/default.nix new file mode 100644 index 000000000000..7a15514a7287 --- /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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d61d4e5670d4..083af987b651 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1300,6 +1300,8 @@ let unrar = callPackage ../tools/archivers/unrar { }; + unarj = callPackage ../tools/archivers/unarj { }; + unshield = callPackage ../tools/archivers/unshield { }; unzip = unzip552;