mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 04:03:04 +00:00
gnucobol: nixfmt
This commit is contained in:
parent
7293c205fd
commit
16686f2b3f
@ -1,20 +1,21 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, autoconf269
|
||||
, automake
|
||||
, libtool
|
||||
, pkg-config
|
||||
# libs
|
||||
, cjson
|
||||
, db
|
||||
, gmp
|
||||
, libxml2
|
||||
, ncurses
|
||||
# docs
|
||||
, help2man
|
||||
, texinfo
|
||||
, texliveBasic
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
autoconf269,
|
||||
automake,
|
||||
libtool,
|
||||
pkg-config,
|
||||
# libs
|
||||
cjson,
|
||||
db,
|
||||
gmp,
|
||||
libxml2,
|
||||
ncurses,
|
||||
# docs
|
||||
help2man,
|
||||
texinfo,
|
||||
texliveBasic,
|
||||
# test
|
||||
}:
|
||||
|
||||
@ -45,9 +46,14 @@ stdenv.mkDerivation rec {
|
||||
ncurses
|
||||
];
|
||||
|
||||
outputs = [ "bin" "dev" "lib" "out" ];
|
||||
outputs = [
|
||||
"bin"
|
||||
"dev"
|
||||
"lib"
|
||||
"out"
|
||||
];
|
||||
# XXX: Without this, we get a cycle between bin and dev
|
||||
propagatedBuildOutputs = [];
|
||||
propagatedBuildOutputs = [ ];
|
||||
|
||||
# Skips a broken test
|
||||
postPatch = ''
|
||||
@ -59,11 +65,13 @@ stdenv.mkDerivation rec {
|
||||
sed -i '2894s/^/AT_SKIP_IF([true])/' tests/testsuite.src/run_file.at
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
preConfigure =
|
||||
''
|
||||
autoconf
|
||||
aclocal
|
||||
automake
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
''
|
||||
+ lib.optionalString stdenv.isDarwin ''
|
||||
# when building with nix on darwin, configure will use GNU strip,
|
||||
# which fails due to using --strip-unneeded, which is not supported
|
||||
substituteInPlace configure --replace-fail '"GNU strip"' 'FAKE GNU strip'
|
||||
@ -75,7 +83,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installFlags = [ "install-pdf" "install-html" "localedir=$out/share/locale" ];
|
||||
installFlags = [
|
||||
"install-pdf"
|
||||
"install-html"
|
||||
"localedir=$out/share/locale"
|
||||
];
|
||||
|
||||
# Tests must run after install.
|
||||
doCheck = false;
|
||||
@ -109,8 +121,15 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "Free/libre COBOL compiler";
|
||||
homepage = "https://gnu.org/software/gnucobol/";
|
||||
license = with licenses; [ gpl3Only lgpl3Only ];
|
||||
maintainers = with maintainers; [ ericsagnes lovesegfault techknowlogick ];
|
||||
license = with licenses; [
|
||||
gpl3Only
|
||||
lgpl3Only
|
||||
];
|
||||
maintainers = with maintainers; [
|
||||
ericsagnes
|
||||
lovesegfault
|
||||
techknowlogick
|
||||
];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user