9 stdenv.mkDerivation rec {
11 version = "5.2-untagged-2024-06-10";
13 url = "git://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git";
14 hash = "sha256-lTMldYO/cZdLj0UjOPPBHfYf2GBG0O+5lhP9ikqn3tY=";
15 rev = "2c86ff58dcc003107b47f2d35aa0fdc4a3fd95e1";
18 # Workaround build failure on -fno-common toolchains like upstream
19 # gcc-10. Otherwise build fails as:
20 # ld: main.o:/build/tftp-hpa-5.2/tftp/main.c:98: multiple definition of
21 # `toplevel'; tftp.o:/build/tftp-hpa-5.2/tftp/tftp.c:51: first defined here
22 env.NIX_CFLAGS_COMPILE = "-fcommon";
34 description = "TFTP tools - a lot of fixes on top of BSD TFTP";
35 maintainers = with maintainers; [ raskin ];
36 platforms = platforms.linux;
37 license = licenses.bsd3;
38 homepage = "https://www.kernel.org/pub/software/network/tftp/";
43 downloadPage = "https://www.kernel.org/pub/software/network/tftp/";