3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/opencpn/default.nix

34 lines
965 B
Nix
Raw Normal View History

2016-03-29 07:31:56 +01:00
{ stdenv, fetchFromGitHub, pkgconfig, cmake, gtk2, wxGTK30, libpulseaudio, curl,
gettext, glib, portaudio }:
stdenv.mkDerivation rec {
2019-09-14 02:39:59 +01:00
pname = "opencpn-unstable";
version = "2019-05-15";
2016-03-29 07:31:56 +01:00
src = fetchFromGitHub {
owner = "OpenCPN";
repo = "OpenCPN";
2019-09-14 02:39:59 +01:00
rev = "83a3c4b5ff011d4eb070f009e0a46d194b177047";
sha256 = "00s1mxnkf1gg41hrz0zp8ypkp98py0m1c22im2zd09k6lcddxw5p";
2016-03-29 07:31:56 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake gtk2 wxGTK30 libpulseaudio curl gettext
2016-03-29 07:31:56 +01:00
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"
2016-03-29 07:31:56 +01:00
];
enableParallelBuilding = true;
meta = {
description = "A concise ChartPlotter/Navigator";
maintainers = [ stdenv.lib.maintainers.kragniz ];
platforms = [ "x86_64-linux" ];
2016-03-29 07:31:56 +01:00
license = stdenv.lib.licenses.gpl2;
2017-08-17 22:57:16 +01:00
homepage = https://opencpn.org/;
2016-03-29 07:31:56 +01:00
};
}