forked from mirrors/nixpkgs
Added unrar
svn path=/nixpkgs/trunk/; revision=8916
This commit is contained in:
parent
53b7c42a92
commit
868554700b
15
pkgs/tools/archivers/unrar/default.nix
Normal file
15
pkgs/tools/archivers/unrar/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{stdenv, fetchurl}:
|
||||
stdenv.mkDerivation {
|
||||
name = "unrar";
|
||||
|
||||
src = fetchurl {
|
||||
sha256 = "0inzy0jlwqm18i6lq17aq4n2baqqlbjyr6incw4s9cxrvmjq51ls";
|
||||
url = http://www.rarlab.com/rar/unrarsrc-3.7.6.tar.gz;
|
||||
};
|
||||
|
||||
makeFlags = "-f makefile.unix";
|
||||
|
||||
installPhase = "mkdir -p \${out}/bin/ ; cp unrar \${out}/bin/;";
|
||||
|
||||
buildInputs = [];
|
||||
}
|
|
@ -555,6 +555,10 @@ rec {
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
unrar = import ../tools/archivers/unrar {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
unshield = import ../tools/archivers/unshield {
|
||||
inherit fetchurl stdenv zlib;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue