nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 41 lines 734 B view raw
1{ 2 stdenv, 3 fetchurl, 4 lib, 5 expat, 6 octave, 7 libxml2, 8 texinfo, 9 zip, 10}: 11stdenv.mkDerivation rec { 12 pname = "gama"; 13 version = "2.28"; 14 15 src = fetchurl { 16 url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz"; 17 sha256 = "sha256-Xcc/4JB7hyM+KHeO32+JlQWUBfH8RXuOL3Z2P0imaxo="; 18 }; 19 20 buildInputs = [ expat ]; 21 22 nativeBuildInputs = [ 23 texinfo 24 zip 25 ]; 26 27 env.CXXFLAGS = lib.optionalString stdenv.cc.isClang "-include sstream"; 28 29 nativeCheckInputs = [ 30 octave 31 libxml2 32 ]; 33 doCheck = true; 34 35 meta = with lib; { 36 description = "Tools for adjustment of geodetic networks"; 37 homepage = "https://www.gnu.org/software/gama/"; 38 license = licenses.gpl3Plus; 39 platforms = platforms.all; 40 }; 41}