Commit 02d0eb6a authored by Michal Koutenský's avatar Michal Koutenský
Browse files

gonic: 0.15.2 -> 0.16.4

parent c3e603e7
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -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 = {