/* Continuous integration of GNU with Hydra/Nix. Copyright (C) 2018 Simon Sobisch This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ { nixpkgs ? , gnucobol ? { outPath = ; } let meta = { homepage = http://www.gnu.org/software/gnucobol; description = "GnuCOBOL, a free, modern COBOL compiler"; longDescription = '' GnuCOBOL is a free, modern COBOL compiler. GnuCOBOL implements a substantial part of the COBOL 85, COBOL 2002 and COBOL 2014 standards and X/Open COBOL, as well as many extensions included in other COBOL compilers (IBM COBOL, MicroFocus COBOL, ACUCOBOL-GT and others). GnuCOBOL translates COBOL into C and compiles the translated code using a native C compiler. ''; # compiler GPLv3+, runtime LGPLv3+ license = "GPLv3+"; maintainers = [ "Simon Sobisch " "Brian Tiffin " ]; }; in import ../gnu-jobs.nix { name = "gnucobol"; src = gnucobol; inherit nixpkgs meta; systems = ["i686-linux" "x86_64-linux" "x86_64-darwin"]; customEnv = { tarball = pkgs: { autoconfPhase = '' # not using gnulib, but an own bootstrap script ./build_aux/bootstrap.sh ''; buildInputs = with pkgs; [ automake114x libgmp bison flex gettext_0_19 subversion gperf help2man texinfo wget perl lzip ] } ; }; }