diff options
author | Louis Taylor | 2016-03-29 07:31:56 +0100 |
---|---|---|
committer | Louis Taylor | 2016-03-29 07:31:56 +0100 |
commit | b40f0ac3c796eef57937e5f4634e54f47fdabb8d (patch) | |
tree | b6c0f12327a5031f56d2502c1eec9f6acf474395 | |
parent | 81fe3eb13f3457d1db41ef5ff6adfb0e7ff648af (diff) |
opencpn: init at 4.2.0
-rw-r--r-- | pkgs/applications/misc/opencpn/default.nix | 32 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/misc/opencpn/default.nix b/pkgs/applications/misc/opencpn/default.nix new file mode 100644 index 000000000000..d6b9b943b6e4 --- /dev/null +++ b/pkgs/applications/misc/opencpn/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub, pkgconfig, cmake, gtk2, wxGTK30, libpulseaudio, curl, + gettext, glib, portaudio }: + +stdenv.mkDerivation rec { + name = "opencpn-${version}"; + version = "4.2.0"; + + src = fetchFromGitHub { + owner = "OpenCPN"; + repo = "OpenCPN"; + rev = "v${version}"; + sha256 = "1m6fp9lf9ki9444h0dq6bj0vr7d0pcxkbjv3j2v76p0ksk2l8kw3"; + }; + + buildInputs = [ pkgconfig cmake gtk2 wxGTK30 libpulseaudio curl gettext + glib portaudio ]; + + cmakeFlags = [ + "-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2}/lib/gtk-2.0/include" + "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib}/lib/glib-2.0/include" + ]; + + enableParallelBuilding = true; + + meta = { + description = "A concise ChartPlotter/Navigator"; + maintainers = [ stdenv.lib.maintainers.kragniz ]; + platforms = stdenv.lib.platforms.all; + license = stdenv.lib.licenses.gpl2; + homepage = "http://opencpn.org/"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c8bbccaf53cb..72a3094a12d6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13001,6 +13001,8 @@ let openbrf = callPackage ../applications/misc/openbrf { }; + opencpn = callPackage ../applications/misc/opencpn { }; + openimageio = callPackage ../applications/graphics/openimageio { }; openjump = callPackage ../applications/misc/openjump { }; |