My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/applications/misc/opencpn/default.nix

100 lines
1.4 KiB

{ stdenv, lib
, alsa-utils
, at-spi2-core
, cmake
, curl
, dbus
, epoxy
, fetchFromGitHub
, flac
, gtk3
, jasper
, libGLU
, libarchive
, libdatrie
, libelf
, libexif
, libogg
, libopus
, libselinux
, libsepol
, libsndfile
, libthai
, libunarr
, libusb
, libvorbis
, libxkbcommon
, lsb-release
, lz4
, pcre
, pkg-config
, portaudio
, sqlite
, tinyxml
, udev
, util-linux
, wxGTK31-gtk3
, xorg
}:
stdenv.mkDerivation rec {
pname = "opencpn";
version = "5.6.2";
src = fetchFromGitHub {
owner = "OpenCPN";
repo = "OpenCPN";
rev = "Release_${version}";
hash = "sha256-sNZYf/2gtjRrrGPuazVnKTgcuIQpKPazhexqlK21T4g=";
};
nativeBuildInputs = [ cmake lsb-release pkg-config ];
buildInputs = [
alsa-utils
at-spi2-core
curl
dbus
epoxy
flac
gtk3
jasper
libGLU
libarchive
libdatrie
libelf
libexif
libogg
libopus
libselinux
libsepol
libsndfile
libthai
libunarr
libusb
libvorbis
libxkbcommon
lz4
pcre
portaudio
sqlite
tinyxml
udev
util-linux
wxGTK31-gtk3
xorg.libXdmcp
xorg.libXtst
];
cmakeFlags = [ "-DOCPN_BUNDLE_DOCS=true" ];
doCheck = true;
meta = with lib; {
description = "A concise ChartPlotter/Navigator";
maintainers = with maintainers; [ kragniz lovesegfault ];
platforms = [ "x86_64-linux" ];
license = licenses.gpl2;
homepage = "https://opencpn.org/";
};
}