Merge pull request #291912 from siraben/mmv-update-fix

mmv: 2.5.1 -> 2.6
This commit is contained in:
Ben Siraphob 2024-03-01 12:40:07 -05:00 committed by GitHub
commit 136abf61f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mmv"; pname = "mmv";
version = "2.5.1"; version = "2.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rrthomas"; owner = "rrthomas";
repo = "mmv"; repo = "mmv";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-01MJjYVPfDaRkzitqKXTJZHbkkZTEaFoyYZEEMizHp0="; sha256 = "sha256-hYSTENSmkJP5rAemDyTzbzMKFrWYcMpsJDRWq43etTM=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -19,11 +19,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ gengetopt m4 git gnupg perl autoconf automake help2man pkg-config ]; nativeBuildInputs = [ gengetopt m4 git gnupg perl autoconf automake help2man pkg-config ];
buildInputs = [ boehmgc ]; buildInputs = [ boehmgc ];
enableParallelBuilding = true;
env = lib.optionalAttrs stdenv.cc.isClang { env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = toString [ NIX_CFLAGS_COMPILE = toString [
"-Wno-error=implicit-function-declaration" "-Wno-error=implicit-function-declaration"
"-Wno-error=implicit-int" "-Wno-error=implicit-int"
"-Wno-error=int-conversion"
]; ];
}; };