unrar: 7.0.9 -> 7.1.1 (#354876)
This commit is contained in:
commit
27bc5d4ffa
@ -1,28 +1,32 @@
|
|||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, fetchzip
|
stdenv,
|
||||||
|
fetchzip,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "unrar";
|
pname = "unrar";
|
||||||
version = "7.0.9";
|
version = "7.1.1";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://www.rarlab.com/rar/unrarsrc-${finalAttrs.version}.tar.gz";
|
url = "https://www.rarlab.com/rar/unrarsrc-${finalAttrs.version}.tar.gz";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
hash = "sha256-lHh02uqHdX2Q9yyaGiHlkdBjlQE1tQyB44d39yDE4ls=";
|
hash = "sha256-dGF5xCZRHnaMVj/OGIIFbytN7Jnj39gq7ym6hq/EZsk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = finalAttrs.src.name;
|
sourceRoot = finalAttrs.src.name;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace unrar/makefile \
|
substituteInPlace unrar/makefile \
|
||||||
--replace "CXX=" "#CXX=" \
|
--replace-fail "CXX=" "#CXX=" \
|
||||||
--replace "STRIP=" "#STRIP=" \
|
--replace-fail "STRIP=" "#STRIP=" \
|
||||||
--replace "AR=" "#AR="
|
--replace-fail "AR=" "#AR="
|
||||||
'';
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [
|
||||||
|
"out"
|
||||||
|
"dev"
|
||||||
|
];
|
||||||
|
|
||||||
# `make {unrar,lib}` call `make clean` implicitly
|
# `make {unrar,lib}` call `make clean` implicitly
|
||||||
# separate build into different dirs to avoid deleting them
|
# separate build into different dirs to avoid deleting them
|
||||||
|
Loading…
Reference in New Issue
Block a user