nixpkgs/pkgs/applications/misc/opencpn/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

101 lines
1.4 KiB
Nix
Raw Normal View History

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