From 684b0f278a23f6700b56adf90c4614219a994183 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Wed, 9 Nov 2022 07:55:07 -0300 Subject: byacc: 20220128 -> 20221106 Also, add AndersonTorres as maintainer. --- pkgs/development/tools/parsing/byacc/default.nix | 34 ++++++++++++++++++------ 1 file changed, 26 insertions(+), 8 deletions(-) (limited to 'pkgs/development/tools/parsing') diff --git a/pkgs/development/tools/parsing/byacc/default.nix b/pkgs/development/tools/parsing/byacc/default.nix index 90bd3f38c3b6b..d3a3cd702319e 100644 --- a/pkgs/development/tools/parsing/byacc/default.nix +++ b/pkgs/development/tools/parsing/byacc/default.nix @@ -1,15 +1,20 @@ -{ lib, stdenv, fetchurl }: +{ lib +, stdenv +, fetchurl +}: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "byacc"; - version = "20220128"; + version = "20221106"; src = fetchurl { - urls = [ - "ftp://ftp.invisible-island.net/byacc/${pname}-${version}.tgz" + urls = let + inherit (finalAttrs) pname version; + in [ "https://invisible-mirror.net/archives/byacc/${pname}-${version}.tgz" + "ftp://ftp.invisible-island.net/byacc/${pname}-${version}.tgz" ]; - sha256 = "sha256-QsGAXMUpMU5qdjJv4bM+gMcIYqRLAUdNo2Li99stdJw="; + hash = "sha256-qJm+Inu8rJz3cA99u1qElGiPH58GF7UQdi2urOR7nRI="; }; configureFlags = [ @@ -23,9 +28,22 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - description = "Berkeley YACC"; homepage = "https://invisible-island.net/byacc/byacc.html"; + description = "Berkeley YACC"; + longDescription = '' + Berkeley Yacc (byacc) is generally conceded to be the best yacc variant + available. In contrast to bison, it is written to avoid dependencies upon + a particular compiler. + + Byacc was written around 1990 by Robert Corbett who is the original author + of bison. Byacc is noted in Lex & Yacc by John Levine et al (O'Reilly, + 1992) for its compatibility with the original yacc program. + + Nowadays byacc is maintained by Thomas E. Dickey. + ''; + changelog = "https://invisible-island.net/byacc/CHANGES.html"; license = licenses.publicDomain; + maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.unix; }; -} +}) -- cgit 1.4.1