mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
57bccb3cb8
* treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces
24 lines
613 B
Nix
24 lines
613 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "unarj-${version}";
|
|
version = "2.65";
|
|
|
|
src = fetchurl {
|
|
sha256 = "0r027z7a0azrd5k885xvwhrxicpd0ah57jzmaqlypxha2qjw7p6p";
|
|
url = "https://src.fedoraproject.org/repo/pkgs/unarj/${name}.tar.gz/c6fe45db1741f97155c7def322aa74aa/${name}.tar.gz";
|
|
};
|
|
|
|
preInstall = ''
|
|
mkdir -p $out/bin
|
|
sed -i -e s,/usr/local/bin,$out/bin, Makefile
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Unarchiver of ARJ files";
|
|
license = licenses.free;
|
|
# Vulnerable to CVE-2015-0557 & possibly CVE-2015-0556, CVE-2015-2782:
|
|
broken = true;
|
|
};
|
|
}
|