Merge pull request #131489 from marsam/update-gonic
gonic: 0.12.2 -> 0.13.1
This commit is contained in:
commit
ac1cc7bce1
|
@ -1,6 +1,6 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub
|
{ lib, stdenv, buildGoModule, fetchFromGitHub
|
||||||
, pkg-config, taglib, alsa-lib
|
, pkg-config, taglib, alsa-lib
|
||||||
, zlib
|
, zlib, AudioToolbox, AppKit
|
||||||
|
|
||||||
# Disable on-the-fly transcoding,
|
# Disable on-the-fly transcoding,
|
||||||
# removing the dependency on ffmpeg.
|
# removing the dependency on ffmpeg.
|
||||||
|
@ -12,16 +12,18 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gonic";
|
pname = "gonic";
|
||||||
version = "0.12.2";
|
version = "0.13.1";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sentriz";
|
owner = "sentriz";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "7d420f61a90739cd82a81c2740274c538405d950";
|
rev = "v${version}";
|
||||||
sha256 = "0ix33cbhik1580h1jgv6n512dcgip436wmljpiw53c9v438k0ps5";
|
sha256 = "08zr5cbmn25wfi1sjfsb311ycn1855x57ypyn5165zcz49pcfzxn";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ taglib alsa-lib zlib ];
|
buildInputs = [ taglib zlib ]
|
||||||
|
++ lib.optionals stdenv.isLinux [ alsa-lib ]
|
||||||
|
++ lib.optionals stdenv.isDarwin [ AudioToolbox AppKit ];
|
||||||
vendorSha256 = "0inxlqxnkglz4j14jav8080718a80nqdcl866lkql8r6zcxb4fm9";
|
vendorSha256 = "0inxlqxnkglz4j14jav8080718a80nqdcl866lkql8r6zcxb4fm9";
|
||||||
|
|
||||||
# TODO(Profpatsch): write a test for transcoding support,
|
# TODO(Profpatsch): write a test for transcoding support,
|
||||||
|
|
|
@ -24603,7 +24603,9 @@ in
|
||||||
|
|
||||||
gollum = callPackage ../applications/misc/gollum { };
|
gollum = callPackage ../applications/misc/gollum { };
|
||||||
|
|
||||||
gonic = callPackage ../servers/gonic { };
|
gonic = callPackage ../servers/gonic {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) AppKit AudioToolbox;
|
||||||
|
};
|
||||||
|
|
||||||
googleearth = callPackage ../applications/misc/googleearth { };
|
googleearth = callPackage ../applications/misc/googleearth { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue