mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
31 lines
926 B
Nix
31 lines
926 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, gtk2, wxGTK30, libpulseaudio, curl,
|
|
gettext, glib, portaudio }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "opencpn-unstable";
|
|
version = "2019-11-21";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenCPN";
|
|
repo = "OpenCPN";
|
|
rev = "e73dc935545b2bbcf193cc61d987a0178c52d7a7";
|
|
sha256 = "0yiqahkzwcbzgabc5xgxmwlngapkfiaqyva3mwz29xj0c5lg2bdk";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
buildInputs = [ 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"
|
|
];
|
|
|
|
meta = {
|
|
description = "A concise ChartPlotter/Navigator";
|
|
maintainers = [ lib.maintainers.kragniz ];
|
|
platforms = [ "x86_64-linux" ];
|
|
license = lib.licenses.gpl2;
|
|
homepage = "https://opencpn.org/";
|
|
};
|
|
}
|