Skip to content

Commit 27bc5d4

Browse files
authored
unrar: 7.0.9 -> 7.1.1 (#354876)
2 parents fe58058 + f91f250 commit 27bc5d4

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

pkgs/by-name/un/unrar/package.nix

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
1-
{ lib
2-
, stdenv
3-
, fetchzip
1+
{
2+
lib,
3+
stdenv,
4+
fetchzip,
45
}:
56

67
stdenv.mkDerivation (finalAttrs: {
78
pname = "unrar";
8-
version = "7.0.9";
9+
version = "7.1.1";
910

1011
src = fetchzip {
1112
url = "https://www.rarlab.com/rar/unrarsrc-${finalAttrs.version}.tar.gz";
1213
stripRoot = false;
13-
hash = "sha256-lHh02uqHdX2Q9yyaGiHlkdBjlQE1tQyB44d39yDE4ls=";
14+
hash = "sha256-dGF5xCZRHnaMVj/OGIIFbytN7Jnj39gq7ym6hq/EZsk=";
1415
};
1516

1617
sourceRoot = finalAttrs.src.name;
1718

1819
postPatch = ''
1920
substituteInPlace unrar/makefile \
20-
--replace "CXX=" "#CXX=" \
21-
--replace "STRIP=" "#STRIP=" \
22-
--replace "AR=" "#AR="
21+
--replace-fail "CXX=" "#CXX=" \
22+
--replace-fail "STRIP=" "#STRIP=" \
23+
--replace-fail "AR=" "#AR="
2324
'';
2425

25-
outputs = [ "out" "dev" ];
26+
outputs = [
27+
"out"
28+
"dev"
29+
];
2630

2731
# `make {unrar,lib}` call `make clean` implicitly
2832
# separate build into different dirs to avoid deleting them

0 commit comments

Comments
 (0)