appimageupdate: 2.0.0-alpha-1-20230526 -> 2.0.0-alpha-1-20251018 (#455099)

This commit is contained in:
Masum Reza
2025-10-25 11:22:14 +00:00
committed by GitHub
+2 -11
View File
@@ -19,26 +19,17 @@
stdenv.mkDerivation (finalAttrs: {
pname = "appimageupdate";
version = "2.0.0-alpha-1-20230526";
version = "2.0.0-alpha-1-20251018";
src = fetchFromGitHub {
owner = "AppImageCommunity";
repo = "AppImageUpdate";
rev = finalAttrs.version;
hash = "sha256-b2RqSw0Ksn9OLxQV9+3reBiqrty+Kx9OwV93jlvuPnY=";
hash = "sha256-S3MRBTtPc4S6lqvAZpbZFgOVgsX6GpHZ8PkwEtipT1M=";
};
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}' \
--replace-fail 'env LC_ALL=C date -u "+%Y-%m-%d %H:%M:%S %Z"' 'bash -c "echo 1970-01-01 00:00:01 UTC"' \
--replace-fail 'git rev-parse --short HEAD' 'bash -c "echo unknown"' \
--replace-fail '<local dev build>' '<nixpkgs build>'