{ stdenv, fetchurl, lib, expat, octave, libxml2, texinfo, zip }: stdenv.mkDerivation rec { pname = "gama"; version = "2.25"; src = fetchurl { url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz"; sha256 = "sha256-1j4fsPQEaftqmrdk6ZPWKSl7ywA/UPN8bdddGVlPxDQ="; }; buildInputs = [ expat ]; nativeBuildInputs = [ texinfo zip ]; nativeCheckInputs = [ octave libxml2 ]; 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; }; }