Commit aa3e9b43 authored by David Wronek's avatar David Wronek
Browse files
parent ca458183
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@
  pkg-config,
  portaudio,
  rapidjson,
  shapelib,
  sqlite,
  tinyxml,
  util-linux,
@@ -48,13 +49,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "opencpn";
  version = "5.10.2";
  version = "5.12.4";

  src = fetchFromGitHub {
    owner = "OpenCPN";
    repo = "OpenCPN";
    rev = "Release_${finalAttrs.version}";
    hash = "sha256-VuMClQ5k1mTMF5yWstTi9YTF4tEN68acH5OPhjdzIwM=";
    hash = "sha256-1JCb2aYyjaiUvtYkBFtEdlClmiMABN3a/Hts9V1sbgc=";
  };

  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
@@ -81,6 +82,7 @@ stdenv.mkDerivation (finalAttrs: {
    dbus
    flac
    gitMinimal
    shapelib
  ]
  ++ [
    glew