3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/archivers/unarj/default.nix
Mateusz Kowalczyk 007f80c1d0 Turn more licenses into lib.licenses style
Should eval cleanly, as far as -A tarball tells me.

Relevant: issue #2999, issue #739
2014-11-06 00:48:16 +00:00

21 lines
444 B
Nix

{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 = ''
mkdir -p $out/bin
sed -i -e s,/usr/local/bin,$out/bin, Makefile
'';
meta = {
description = "Unarchiver of ARJ files";
license = stdenv.lib.licenses.free;
};
}