nc4nix: apply patch to fix invalid lock entries

Closes #239011
This commit is contained in:
Maximilian Bosch 2023-06-24 11:33:23 +02:00
parent 7c70396c1d
commit 3be6cea88a
No known key found for this signature in database
GPG Key ID: 9A6EEA275CA5BE0A

View File

@ -6,7 +6,7 @@
, fetchpatch
}:
buildGoModule rec {
buildGoModule {
pname = "nc4nix";
version = "unstable-2023-06-06";
@ -25,6 +25,15 @@ buildGoModule rec {
sha256 = "sha256-0JxyhSQLtlgLtsMv82wMjQHGdmOoQ2dcPPNAw2cFByE=";
name = "switch_hash_calculation_method.patch";
})
# Fix invalid entries (pre-releases of apps are not to be taken into account,
# but if only pre-releases are compatible with a given Nextcloud version,
# invalid entries are generated)
(fetchpatch {
url = "https://github.com/helsinki-systems/nc4nix/commit/c48131b5ca382585fd3294d51d59acc1e92fadb1.patch";
sha256 = "sha256-/zc3Smjd6CksC5wUvoB6uAyTzPcIgqimb+zASIuTft0=";
excludes = [ "25.json" "26.json" "27.json" ];
})
];
vendorSha256 = "sha256-uhINWxFny/OY7M2vV3ehFzP90J6Z8cn5IZHWOuEg91M=";