2010-10-23 16:55:14 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-05-03 04:00:25 +02:00
|
|
|
name = "unarj-${version}";
|
|
|
|
version = "2.65";
|
2014-11-06 01:44:33 +01:00
|
|
|
|
2010-10-23 16:55:14 +02:00
|
|
|
src = fetchurl {
|
2016-05-03 04:00:25 +02:00
|
|
|
sha256 = "0r027z7a0azrd5k885xvwhrxicpd0ah57jzmaqlypxha2qjw7p6p";
|
|
|
|
url = "http://pkgs.fedoraproject.org/repo/pkgs/unarj/${name}.tar.gz/c6fe45db1741f97155c7def322aa74aa/${name}.tar.gz";
|
2010-10-23 16:55:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2010-10-23 16:55:14 +02:00
|
|
|
sed -i -e s,/usr/local/bin,$out/bin, Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Unarchiver of ARJ files";
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.free;
|
2010-10-23 16:55:14 +02:00
|
|
|
};
|
|
|
|
}
|