uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
100
pkgs/applications/misc/opencpn/default.nix
Normal file
100
pkgs/applications/misc/opencpn/default.nix
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
{ 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/";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue