2020-12-25 13:55:36 +00:00
|
|
|
{ stdenv, fetchurl, lib, expat, octave, libxml2, texinfo, zip }:
|
2020-08-20 17:08:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gama";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "2.28";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
2024-02-07 01:22:34 +00:00
|
|
|
sha256 = "sha256-Xcc/4JB7hyM+KHeO32+JlQWUBfH8RXuOL3Z2P0imaxo=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ expat ];
|
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
nativeBuildInputs = [ texinfo zip ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
env.CXXFLAGS = lib.optionalString stdenv.cc.isClang "-include sstream";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ octave libxml2 ];
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib ; {
|
|
|
|
description = "Tools for adjustment of geodetic networks";
|
|
|
|
homepage = "https://www.gnu.org/software/gama/";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|