summaryrefslogtreecommitdiffstats
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-01-26 00:45:11 +0000
committerGitHub <noreply@github.com>2021-01-26 00:45:11 +0000
commit2661d9378f9b25c894e40a43b7db603aa88e1b4a (patch)
treedc459c57338b4c1cb690b6a2177d7fb8f87e5dd0 /pkgs/development/compilers
parenta127deeb889b111138f5152e54681577706ab741 (diff)
parent68953d0486ab5f536c9145b5355cbcaa7e3047dc (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/gnu-cobol/default.nix15
1 files changed, 6 insertions, 9 deletions
diff --git a/pkgs/development/compilers/gnu-cobol/default.nix b/pkgs/development/compilers/gnu-cobol/default.nix
index e208f262ebeb..44c966fa974b 100644
--- a/pkgs/development/compilers/gnu-cobol/default.nix
+++ b/pkgs/development/compilers/gnu-cobol/default.nix
@@ -1,16 +1,13 @@
{ lib, stdenv, fetchurl, gcc, makeWrapper
, db, gmp, ncurses }:
-let
- version = "2.2";
-in
stdenv.mkDerivation rec {
pname = "gnu-cobol";
- inherit version;
+ version = "3.1.2";
src = fetchurl {
- url = "https://sourceforge.com/projects/open-cobol/files/gnu-cobol/${version}/gnucobol-${version}.tar.gz";
- sha256 = "1jrjmdx0swssjh388pp08awhiisbrs2i7gx4lcm4p1k5rpg3hn4j";
+ url = "mirror://sourceforge/gnucobol/${lib.versions.majorMinor version}/gnucobol-${version}.tar.xz";
+ sha256 = "0x15ybfm63g7c9340fc6712h9v59spnbyaz4rf85pmnp3zbhaw2r";
};
nativeBuildInputs = [ makeWrapper ];
@@ -31,9 +28,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "An open-source COBOL compiler";
- homepage = "https://sourceforge.net/projects/open-cobol/";
- license = licenses.gpl3;
+ homepage = "https://sourceforge.net/projects/gnucobol/";
+ license = with licenses; [ gpl3Only lgpl3Only ];
maintainers = with maintainers; [ ericsagnes ];
- platforms = with platforms; linux ++ darwin;
+ platforms = platforms.all;
};
}