xmlsec: add a URL for older releases

This commit is contained in:
Jan Malakhovski
2025-03-19 10:00:00 +00:00
parent f585b6c33a
commit 241ee0fa7a

View File

@@ -21,7 +21,12 @@ lib.fix (
version = "1.3.7";
src = fetchurl {
url = "https://www.aleksey.com/xmlsec/download/xmlsec1-${version}.tar.gz";
urls = [
"https://www.aleksey.com/xmlsec/download/xmlsec1-${version}.tar.gz"
# for when the ${version} gets older than the last two
"https://www.aleksey.com/xmlsec/download/older-releases/xmlsec1-${version}.tar.gz"
];
sha256 = "sha256-2C6TtpuKogWmFrYpF6JpMiv2Oj6q+zd1AU5hdSsgE+o=";
};