diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2024-04-18 02:01:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 02:01:35 +0200 |
commit | 3f1bb546b5eb45359d708aa93df420be25b6a28b (patch) | |
tree | d52afb9b33026170b56f7fe2e1b0d0d9b7835045 /pkgs/servers | |
parent | b34f37719e945c41c84da75873799da29e0c9a36 (diff) | |
parent | ef95bc2eaf38e020efb8961ef60a95be2469cc35 (diff) |
Merge pull request #299762 from autrimpo/gonic-0.16.3
gonic: 0.15.2 -> 0.16.4
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/gonic/default.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/servers/gonic/default.nix b/pkgs/servers/gonic/default.nix index ee5bfef3b9afc..f3c83a164bce6 100644 --- a/pkgs/servers/gonic/default.nix +++ b/pkgs/servers/gonic/default.nix @@ -13,17 +13,17 @@ buildGoModule rec { pname = "gonic"; - version = "0.15.2"; + version = "0.16.4"; src = fetchFromGitHub { owner = "sentriz"; repo = pname; rev = "v${version}"; - sha256 = "sha256-lyKKD6Rxr4psFUxqGTtqQ3M/vQXoNPbcg0cTam9MkXk="; + sha256 = "sha256-+8rKODoADU2k1quKvbijjs/6S/hpkegHhG7Si0LSE0k="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ taglib zlib ]; - vendorHash = "sha256-+PUKPqW+ER7mmZXrDIc0cE4opoTxA3po3WXSeZO+Xwo="; + vendorHash = "sha256-6JkaiaAgtXYAZqVSRZJFObZvhEsHsbPaO9pwmKqIhYI="; # TODO(Profpatsch): write a test for transcoding support, # since it is prone to break @@ -39,6 +39,11 @@ buildGoModule rec { --replace \ '"mpv"' \ '"${lib.getBin mpv}/bin/mpv"' + '' + '' + substituteInPlace server/ctrlsubsonic/testdata/test* \ + --replace \ + '"audio/flac"' \ + '"audio/x-flac"' ''; passthru = { @@ -49,7 +54,7 @@ buildGoModule rec { homepage = "https://github.com/sentriz/gonic"; description = "Music streaming server / subsonic server API implementation"; license = lib.licenses.gpl3Plus; - maintainers = with lib.maintainers; [ ]; + maintainers = with lib.maintainers; [ autrimpo ]; platforms = lib.platforms.linux; mainProgram = "gonic"; }; |