nixpkgs/pkgs/applications/misc/opencpn/default.nix
R. RyanTM 0fe86f2ee1 opencpn: 4.8.8 -> 5.0.0 (#58733)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/opencpn/versions
2019-04-08 23:44:55 +02:00

34 lines
932 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, cmake, gtk2, wxGTK30, libpulseaudio, curl,
gettext, glib, portaudio }:
stdenv.mkDerivation rec {
name = "opencpn-${version}";
version = "5.0.0";
src = fetchFromGitHub {
owner = "OpenCPN";
repo = "OpenCPN";
rev = "v${version}";
sha256 = "1xv3h6svw9aay5ixpql231md3pf00qxvhg62z88daraf18hlkfja";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake gtk2 wxGTK30 libpulseaudio curl gettext
glib portaudio ];
cmakeFlags = [
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
];
enableParallelBuilding = true;
meta = {
description = "A concise ChartPlotter/Navigator";
maintainers = [ stdenv.lib.maintainers.kragniz ];
platforms = [ "x86_64-linux" ];
license = stdenv.lib.licenses.gpl2;
homepage = https://opencpn.org/;
};
}