nixpkgs/pkgs/applications/misc/opencpn/default.nix
R. RyanTM efbbd81962 opencpn: 4.8.2 -> 4.8.4
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.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 4.8.4 with grep in /nix/store/jlmxcb41bg1v2blsl2vgbjszaafkcvgv-opencpn-4.8.4
- directory tree listing: https://gist.github.com/8becdf1d24e33d05a2f0afdac7c9d764
2018-05-12 15:14:55 +02:00

33 lines
938 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, cmake, gtk2, wxGTK30, libpulseaudio, curl,
gettext, glib, portaudio }:
stdenv.mkDerivation rec {
name = "opencpn-${version}";
version = "4.8.4";
src = fetchFromGitHub {
owner = "OpenCPN";
repo = "OpenCPN";
rev = "v${version}";
sha256 = "0v4klprzddmpq7w8h2pm69sgbshirdmjrlzhz62b606gbr58fazf";
};
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 = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl2;
homepage = https://opencpn.org/;
};
}