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
72
pkgs/applications/misc/survex/default.nix
Normal file
72
pkgs/applications/misc/survex/default.nix
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, Carbon
|
||||
, Cocoa
|
||||
, ffmpeg
|
||||
, glib
|
||||
, libGLU
|
||||
, mesa
|
||||
, perl
|
||||
, pkg-config
|
||||
, proj
|
||||
, python3
|
||||
, wrapGAppsHook
|
||||
, wxGTK30-gtk3
|
||||
, wxmac
|
||||
, xlibsWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "survex";
|
||||
version = "1.4.1";
|
||||
|
||||
nativeBuildInputs = [
|
||||
perl
|
||||
pkg-config
|
||||
python3
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
ffmpeg
|
||||
glib
|
||||
libGLU
|
||||
mesa
|
||||
proj
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
Carbon
|
||||
Cocoa
|
||||
wxmac
|
||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
wxGTK30-gtk3
|
||||
xlibsWrapper
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://survex.com/software/${version}/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-69X1jGjBTQIQzkD1mTZTzE8L/GXnnf5SI52l7eIiLz4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
doCheck = (!stdenv.isDarwin); # times out
|
||||
enableParallelChecking = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free Software/Open Source software package for mapping caves";
|
||||
longDescription = ''
|
||||
Survex is a Free Software/Open Source software package for mapping caves,
|
||||
licensed under the GPL. It is designed to be portable and can be run on a
|
||||
variety of platforms, including Linux/Unix, macOS, and Microsoft Windows.
|
||||
'';
|
||||
homepage = "https://survex.com/";
|
||||
changelog = "https://github.com/ojwb/survex/raw/v${version}/NEWS";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.matthewcroughan ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue