mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-06 04:40:10 +00:00
navidrome-unwrapped: 0.64.2 -> 0.65.0
Diff: https://github.com/navidrome/navidrome/compare/v0.64.2...v0.65.0
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
From 6f4b1279e20781f1271cf73a7fe85b74c6258958 Mon Sep 17 00:00:00 2001
|
||||
From: Deluan <deluan@navidrome.org>
|
||||
Date: Thu, 24 Sep 2026 21:57:45 -0400
|
||||
Subject: [PATCH] test(server): make the handleM3U spec independent of spec
|
||||
order
|
||||
|
||||
It relied on another spec having set auth.PublicTokenAuth, so it panicked whenever Ginkgo ran it first.
|
||||
---
|
||||
server/public/handle_shares_test.go | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/server/public/handle_shares_test.go b/server/public/handle_shares_test.go
|
||||
index 1bf631fd453..4de2a75c18f 100644
|
||||
--- a/server/public/handle_shares_test.go
|
||||
+++ b/server/public/handle_shares_test.go
|
||||
@@ -4,7 +4,9 @@ import (
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
|
||||
+ "github.com/go-chi/jwtauth/v5"
|
||||
"github.com/navidrome/navidrome/core"
|
||||
+ "github.com/navidrome/navidrome/core/auth"
|
||||
"github.com/navidrome/navidrome/model"
|
||||
"github.com/navidrome/navidrome/tests"
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
@@ -17,6 +19,7 @@ var _ = Describe("handleM3U", func() {
|
||||
var pub *Router
|
||||
|
||||
BeforeEach(func() {
|
||||
+ auth.PublicTokenAuth = jwtauth.New("HS256", []byte("test-secret"), nil)
|
||||
ds = &tests.MockDataStore{}
|
||||
shareRepo = &tests.MockShareRepo{}
|
||||
ds.MockedShare = shareRepo
|
||||
|
||||
@@ -18,30 +18,26 @@
|
||||
|
||||
buildGo127Module (finalAttrs: {
|
||||
pname = "navidrome";
|
||||
version = "0.64.2";
|
||||
version = "0.65.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "navidrome";
|
||||
repo = "navidrome";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-6667wi23YSPdF/LL5k7VmYEAM5rxQYjqlvAtg5vJzj4=";
|
||||
hash = "sha256-yJtIVKwZ9aqxjwWmSCtMQbbNggYgzHoS0xHY12PsR1M=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./6221.patch
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
vendorHash = "sha256-/3NhF/OHDxWrciN5GdROiO1yhjjdm5F5ntW7h6tzFGc=";
|
||||
vendorHash = "sha256-VtInoZcG4ehWW4/AcM7+4SDNxFCRPrQ8qrTfQOOFNEg=";
|
||||
|
||||
npmRoot = "ui";
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
inherit (finalAttrs) src;
|
||||
sourceRoot = "${finalAttrs.src.name}/ui";
|
||||
hash = "sha256-uRF9cf6HZE0gyCvGTEZ520d2gMsxmccEYLJBgc47pMg=";
|
||||
hash = "sha256-gCyJmYRCUv7jc4ku1IhBbaUnX80Oyy9NQEtxRQI6nO0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -62,6 +58,7 @@ buildGo127Module (finalAttrs: {
|
||||
|
||||
excludedPackages = [
|
||||
"plugins"
|
||||
"tools/ctxvariant"
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
|
||||
Reference in New Issue
Block a user