libargs: 6.4.6 -> 6.4.7 (#395957)

This commit is contained in:
Weijia Wang
2025-04-24 09:16:39 +02:00
committed by GitHub
3 changed files with 13 additions and 2 deletions
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
pkg-config,
qt5,
@@ -27,6 +28,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-b2RqSw0Ksn9OLxQV9+3reBiqrty+Kx9OwV93jlvuPnY=";
};
patches = [
(fetchpatch {
name = "include-algorithm-header.patch";
url = "https://github.com/AppImageCommunity/AppImageUpdate/commit/5e91de84aba775ba8d3a4771e4f7f06056f9b764.patch";
hash = "sha256-RX2HFAlGsEjXona7cL3WdwwiiA0u9CnfvHMC6S0DeLY=";
})
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail 'VERSION 1-alpha' 'VERSION ${finalAttrs.version}' \
+2 -2
View File
@@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "args";
version = "6.4.6";
version = "6.4.7";
src = fetchFromGitHub {
owner = "Taywee";
repo = "args";
rev = version;
sha256 = "sha256-2gH3h3QAl0+XVULt/fR2UUGKNIxTUmnRRdxPOFdpVy4=";
sha256 = "sha256-IQzhbXl1CfEV164EjulKrOUdCTZNZAFgVyzxk4rTNlU=";
};
nativeBuildInputs = [ cmake ];
+2
View File
@@ -53,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "USE_SYSTEM_ARGS" true)
];
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
meta = {
description = "Rewrite of the advanced file download/sync tool zsync";
homepage = "https://github.com/AppImageCommunity/zsync2";