gonic: 0.15.2 -> 0.16.4

This commit is contained in:
Michal Koutenský 2024-03-19 22:09:45 +01:00
parent c3e603e788
commit 02d0eb6a45
1 changed files with 8 additions and 3 deletions

View File

@ -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 = {