Skip to content

Commit

Permalink
nc4nix: 0-unstable-2024-03-01 -> 0-unstable-2024-08-01
Browse files Browse the repository at this point in the history
Nc4nix now generates SRI hashes instead of sha256 hashes.
It also no longer unpacks the tarballs before hashing.

Co-authored-by: Pyrox <[email protected]>
  • Loading branch information
dotlambda and pyrox0 committed Aug 1, 2024
1 parent b8a80e1 commit 73eb537
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions pkgs/by-name/nc/nc4nix/package.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
{ lib
, buildGoModule
, fetchFromGitHub
{
lib,
buildGoModule,
fetchFromGitHub,
unstableGitUpdater,
}:

buildGoModule {
pname = "nc4nix";
version = "0-unstable-2024-03-01";
version = "0-unstable-2024-08-01";

src = fetchFromGitHub {
owner = "helsinki-systems";
repo = "nc4nix";
rev = "ba37674c0dddf93e0a011dace92ec7f0ec834765";
hash = "sha256-k12eeP2gojLCsJH1GGuiTmxz3ViPc0+oFBuptyh42Bw=";
rev = "827bb7244a3529e71c9474fe1f74aed51a4b08d5";
hash = "sha256-ToT+VvdXiUMmy0dNJAeyMlzMx87QhZPIwzxPXm2fR7s=";
};

vendorHash = "sha256-ZXl4kMDY9ADkHUcLsl3uNpyErMzbgS+J65+uUeIXpSE=";
vendorHash = "sha256-qntRsv3KvAbV3lENjAHKkQOqh3uTo3gacfwase489tQ=";

meta = with lib; {
passthru.updateScript = unstableGitUpdater { };

meta = {
description = "Packaging helper for Nextcloud apps";
mainProgram = "nc4nix";
homepage = "https://github.com/helsinki-systems/nc4nix";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
platforms = platforms.linux;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ onny ];
platforms = lib.platforms.linux;
};
}

0 comments on commit 73eb537

Please sign in to comment.