2021-01-15 05:42:41 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, gtk2, wxGTK30, libpulseaudio, curl,
|
2016-03-29 07:31:56 +01:00
|
|
|
gettext, glib, portaudio }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-09-14 02:39:59 +01:00
|
|
|
pname = "opencpn-unstable";
|
2019-11-30 17:58:59 +00:00
|
|
|
version = "2019-11-21";
|
2016-03-29 07:31:56 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenCPN";
|
|
|
|
repo = "OpenCPN";
|
2019-11-30 17:58:59 +00:00
|
|
|
rev = "e73dc935545b2bbcf193cc61d987a0178c52d7a7";
|
|
|
|
sha256 = "0yiqahkzwcbzgabc5xgxmwlngapkfiaqyva3mwz29xj0c5lg2bdk";
|
2016-03-29 07:31:56 +01:00
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ gtk2 wxGTK30 libpulseaudio curl gettext
|
2016-03-29 07:31:56 +01:00
|
|
|
glib portaudio ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
2016-04-14 02:11:58 +01:00
|
|
|
"-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
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A concise ChartPlotter/Navigator";
|
2021-01-15 05:42:41 +00:00
|
|
|
maintainers = [ lib.maintainers.kragniz ];
|
2018-11-10 13:25:41 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2021-01-15 05:42:41 +00:00
|
|
|
license = lib.licenses.gpl2;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://opencpn.org/";
|
2016-03-29 07:31:56 +01:00
|
|
|
};
|
|
|
|
}
|