···20202121 vendorHash = "sha256-9GRAlgng+yq7q0VQz374jIOCjeDIIDD631BglM/FsQQ=";
22222323+ patches = [
2424+ ./go-1.24.patch
2525+ ];
2626+2327 # This is the go generate is ran in the upstream builder, but we have to run the components separately for things to work.
2428 preBuild = ''
2529 cd ./cmd/gokapi/
···11-From 86fd3be1d31d2e7c09603aa3a8966537ac01bb07 Mon Sep 17 00:00:00 2001
22-From: Maximilian Bosch <maximilian@mbosch.me>
33-Date: Tue, 11 Aug 2020 20:30:16 +0200
44-Subject: [PATCH] Fix RPC compilation when using libtirpc rather than glibc
55-66----
77- src/block-server.c | 3 +++
88- utils/chop-block-server.c | 3 +++
99- 2 files changed, 6 insertions(+)
1010-1111-diff --git a/src/block-server.c b/src/block-server.c
1212-index 3f97417..29b299e 100644
1313---- a/src/block-server.c
1414-+++ b/src/block-server.c
1515-@@ -18,6 +18,9 @@
1616-1717- /* Server-side stubs. */
1818-1919-+#include <rpc/types.h>
2020-+#include <rpc/xdr.h>
2121-+#include <rpc/auth.h>
2222- #include <rpc/svc.h>
2323- #include <chop/block-server.h>
2424-2525-diff --git a/utils/chop-block-server.c b/utils/chop-block-server.c
2626-index a2076c0..9462f5d 100644
2727---- a/utils/chop-block-server.c
2828-+++ b/utils/chop-block-server.c
2929-@@ -19,6 +19,9 @@
3030- store, e.g. a GDBM block store, and serves it remotely. A lot of code is
3131- borrowed from `chop-archiver.c'. */
3232-3333-+#include <rpc/types.h>
3434-+#include <rpc/xdr.h>
3535-+#include <rpc/auth.h>
3636- #include <chop/chop-config.h>
3737-3838- #include <alloca.h>
3939---
4040-2.25.4
4141-
-71
pkgs/by-name/li/libchop/gets-undeclared.patch
···11-This patch is needed to allow builds with newer versions of
22-the GNU libc (2.16+).
33-44-55-commit 66712c23388e93e5c518ebc8515140fa0c807348
66-Author: Eric Blake <eblake@redhat.com>
77-Date: Thu Mar 29 13:30:41 2012 -0600
88-99- stdio: don't assume gets any more
1010-1111- Gnulib intentionally does not have a gets module, and now that C11
1212- and glibc have dropped it, we should be more proactive about warning
1313- any user on a platform that still has a declaration of this dangerous
1414- interface.
1515-1616- * m4/stdio_h.m4 (gl_STDIO_H, gl_STDIO_H_DEFAULTS): Drop gets
1717- support.
1818- * modules/stdio (Makefile.am): Likewise.
1919- * lib/stdio-read.c (gets): Likewise.
2020- * tests/test-stdio-c++.cc: Likewise.
2121- * m4/warn-on-use.m4 (gl_WARN_ON_USE_PREPARE): Fix comment.
2222- * lib/stdio.in.h (gets): Make warning occur in more places.
2323- * doc/posix-functions/gets.texi (gets): Update documentation.
2424- Reported by Christer Solskogen.
2525-2626- Signed-off-by: Eric Blake <eblake@redhat.com>
2727-2828-diff --git a/lib/stdio.in.h b/lib/stdio.in.h
2929-index aa7b599..c377b6e 100644
3030---- a/lib/stdio.in.h
3131-+++ b/lib/stdio.in.h
3232-@@ -698,22 +698,11 @@ _GL_WARN_ON_USE (getline, "getline is unportable - "
3333- # endif
3434- #endif
3535-3636--#if @GNULIB_GETS@
3737--# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@
3838--# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
3939--# undef gets
4040--# define gets rpl_gets
4141--# endif
4242--_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1)));
4343--_GL_CXXALIAS_RPL (gets, char *, (char *s));
4444--# else
4545--_GL_CXXALIAS_SYS (gets, char *, (char *s));
4646--# undef gets
4747--# endif
4848--_GL_CXXALIASWARN (gets);
4949- /* It is very rare that the developer ever has full control of stdin,
5050-- so any use of gets warrants an unconditional warning. Assume it is
5151-- always declared, since it is required by C89. */
5252-+ so any use of gets warrants an unconditional warning; besides, C11
5353-+ removed it. */
5454-+#undef gets
5555-+#if HAVE_RAW_DECL_GETS
5656- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
5757- #endif
5858-5959-@@ -1053,9 +1042,9 @@ _GL_WARN_ON_USE (snprintf, "snprintf is unportable - "
6060- # endif
6161- #endif
6262-6363--/* Some people would argue that sprintf should be handled like gets
6464-- (for example, OpenBSD issues a link warning for both functions),
6565-- since both can cause security holes due to buffer overruns.
6666-+/* Some people would argue that all sprintf uses should be warned about
6767-+ (for example, OpenBSD issues a link warning for it),
6868-+ since it can cause security holes due to buffer overruns.
6969- However, we believe that sprintf can be used safely, and is more
7070- efficient than snprintf in those safe cases; and as proof of our
7171- belief, we use sprintf in several gnulib modules. So this header
-88
pkgs/by-name/li/libchop/package.nix
···11-{
22- fetchurl,
33- lib,
44- stdenv,
55- zlib,
66- bzip2,
77- libgcrypt,
88- gdbm,
99- gperf,
1010- tdb,
1111- gnutls,
1212- db,
1313- libuuid,
1414- lzo,
1515- pkg-config,
1616- guile,
1717- rpcsvc-proto,
1818- libtirpc,
1919-}:
2020-2121-stdenv.mkDerivation rec {
2222- pname = "libchop";
2323- version = "0.5.2";
2424-2525- src = fetchurl {
2626- url = "mirror://savannah/libchop/libchop-${version}.tar.gz";
2727- sha256 = "0fpdyxww41ba52d98blvnf543xvirq1v9xz1i3x1gm9lzlzpmc2g";
2828- };
2929-3030- patches = [
3131- ./gets-undeclared.patch
3232- ./size_t.patch
3333- ./0001-Fix-RPC-compilation-when-using-libtirpc-rather-than-.patch
3434- ];
3535-3636- nativeBuildInputs = [
3737- pkg-config
3838- gperf
3939- rpcsvc-proto
4040- ];
4141-4242- env.NIX_CFLAGS_COMPILE = toString [ "-I${libtirpc.dev}/include/tirpc" ];
4343- NIX_LDFLAGS = [ "-ltirpc" ];
4444-4545- buildInputs = [
4646- zlib
4747- bzip2
4848- lzo
4949- libgcrypt
5050- gdbm
5151- db
5252- tdb
5353- gnutls
5454- libuuid
5555- guile
5656- libtirpc
5757- ];
5858-5959- doCheck = false;
6060-6161- preConfigure = ''
6262- sed -re 's%@GUILE@%&/guile%' -i */Makefile.* Makefile.*
6363- '';
6464-6565- meta = with lib; {
6666- description = "Tools & library for data backup and distributed storage";
6767-6868- longDescription = ''
6969- Libchop is a set of utilities and library for data backup and
7070- distributed storage. Its main application is chop-backup, an
7171- encrypted backup program that supports data integrity checks,
7272- versioning at little cost, distribution among several sites,
7373- selective sharing of stored data, adaptive compression, and more.
7474- The library itself, which chop-backup builds upon, implements
7575- storage techniques such as content-based addressing, content hash
7676- keys, Merkle trees, similarity detection, and lossless compression.
7777- It makes it easy to combine them in different ways. The
7878- ‘chop-archiver’ and ‘chop-block-server’ tools, illustrated in the
7979- manual, provide direct access to these facilities from the command
8080- line. It is written in C and has Guile (Scheme) bindings.
8181- '';
8282-8383- homepage = "https://www.nongnu.org/libchop/";
8484- license = licenses.gpl3Plus;
8585- maintainers = [ ];
8686- platforms = platforms.gnu ++ platforms.linux;
8787- };
8888-}
···709709 gg = go-graft; # Added 2025-03-07
710710 ghostwriter = makePlasma5Throw "ghostwriter"; # Added 2023-03-18
711711 git-codeowners = throw "'git-codeowners' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
712712+ gmni = throw "gmni has been removed as it is no longer maintained upstream"; # Added 2025-05-02
712713 gmp5 = throw "'gmp5' has been removed as it is unmaintained. Consider using 'gmp' instead"; # Added 2024-10-28
713714 gmpc = throw "'gmpc' has been removed due to lack of maintenance upstream. Consider using 'plattenalbum' instead"; # Added 2024-09-14
714715 gmtk = throw "'gmtk' has been removed due to lack of maintenance upstream"; # Added 2024-09-14
···951952 libbitcoin-explorer = throw "libbitcoin-explorer has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
952953 libbitcoin-network = throw "libbitcoin-network has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
953954 libbitcoin-protocol = throw "libbitcoin-protocol has been removed as it required an obsolete version of Boost and had no maintainer in Nixpkgs"; # Added 2024-11-24
955955+ libchop = throw "libchop has been removed due to failing to build and being unmaintained upstream"; # Added 2025-05-02
954956 libdwg = throw "libdwg has been removed as upstream is unmaintained, the code doesn't build without significant patches, and the package had no reverse dependencies"; # Added 2024-12-28
955957 libgcrypt_1_8 = throw "'libgcrypt_1_8' is end-of-life. Consider using 'libgcrypt' instead"; # Added 2025-01-05
956958 libgda = lib.warnOnInstantiate "‘libgda’ has been renamed to ‘libgda5’" libgda5; # Added 2025-01-21
···13491351 openjdk22_headless = throw "OpenJDK 22 was removed as it has reached its end of life"; # Added 2024-09-24
13501352 jdk22 = throw "OpenJDK 22 was removed as it has reached its end of life"; # Added 2024-09-24
13511353 jdk22_headless = throw "OpenJDK 22 was removed as it has reached its end of life"; # Added 2024-09-24
13541354+ oobicpl = throw "oobicpl was removed as it is unmaintained upstream"; # Added 2025-04-26
13521355 openjfx11 = throw "OpenJFX 11 was removed as it has reached its end of life"; # Added 2024-10-07
13531356 openjfx19 = throw "OpenJFX 19 was removed as it has reached its end of life"; # Added 2024-08-01
13541357 openjfx20 = throw "OpenJFX 20 was removed as it has reached its end of life"; # Added 2024-08-01
···13961399 passky-desktop = throw "passky-desktop has been removed, as it was unmaintained and blocking the Electron 29 removal."; # Added 2025-02-24
13971400 p2pvc = throw "p2pvc has been removed as it is unmaintained upstream and depends on OpenCV 2"; # Added 2024-08-20
13981401 packet-cli = throw "'packet-cli' has been renamed to/replaced by 'metal-cli'"; # Converted to throw 2024-10-17
14021402+ paco = throw "'paco' has been removed as it has been abandoned"; # Added 2025-04-30
13991403 inherit (perlPackages) pacup;
14001404 panopticon = throw "'panopticon' has been removed because it is unmaintained upstream"; # Added 2025-01-25
14011405 paperoni = throw "paperoni has been removed, because it is unmaintained"; # Added 2024-07-14