Commit 73eb537d authored by Robert Schütz's avatar Robert Schütz
Browse files

nc4nix: 0-unstable-2024-03-01 -> 0-unstable-2024-08-01



Nc4nix now generates SRI hashes instead of sha256 hashes.
It also no longer unpacks the tarballs before hashing.

Co-authored-by: default avatarPyrox <pyrox@pyrox.dev>
parent b8a80e15
Loading
Loading
Loading
Loading
+15 −12
Original line number Diff line number Diff line
{ 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;
  };
}