Unverified Commit 40a7eec5 authored by Thomas Gerbet's avatar Thomas Gerbet Committed by GitHub
Browse files

navidrome: 0.59 -> 0.60 (#486798)

parents 4102070f 1e37efce
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -161,7 +161,8 @@ in
            ];
            RestrictRealtime = true;
            LockPersonality = true;
            MemoryDenyWriteExecute = true;
            # 0.60.0 Taglib introduces WASM JIT that requires this
            MemoryDenyWriteExecute = false;
            UMask = "0066";
            ProtectHostname = true;
          };
+8 −4
Original line number Diff line number Diff line
@@ -19,23 +19,23 @@

buildGoModule (finalAttrs: {
  pname = "navidrome";
  version = "0.59.0";
  version = "0.60.0";

  src = fetchFromGitHub {
    owner = "navidrome";
    repo = "navidrome";
    rev = "v${finalAttrs.version}";
    hash = "sha256-YXyNnjaLgu4FXvgsbbzCOZRIuN96h+KDrXmJe1607JI=";
    hash = "sha256-K7Cen0gADYQc0jxd2keBpTJlyQyuYL02j7/yiNtjZvQ=";
  };

  vendorHash = "sha256-FFtTQuXb5GYxZmUiNjZNO6K8QYF0TLH4JU2JmAzZhqQ=";
  vendorHash = "sha256-DCz/WKZXnZy109WgStCK7NJg8VpR3IJEaQZLMDXdegk=";

  npmRoot = "ui";

  npmDeps = fetchNpmDeps {
    inherit (finalAttrs) src;
    sourceRoot = "${finalAttrs.src.name}/ui";
    hash = "sha256-RTye1ZbxLqfkZUvV0NLN7wcRnri3sC5Lfi8RXVG1bLM=";
    hash = "sha256-Z1kSRNSG1zeLA6rtbcTdLJnNWclsVTS5Xfc4D9M0dl4=";
  };

  nativeBuildInputs = [
@@ -55,6 +55,10 @@ buildGoModule (finalAttrs: {
    zlib
  ];

  excludedPackages = [
    "plugins"
  ];

  ldflags = [
    "-X github.com/navidrome/navidrome/consts.gitSha=${finalAttrs.src.rev}"
    "-X github.com/navidrome/navidrome/consts.gitTag=v${finalAttrs.version}"