Unverified Commit 38dd5f36 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

setserial: drop (#408365)

parents 4cda3e43 737e4f00
Loading
Loading
Loading
Loading
+0 −33
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  groff,
}:

stdenv.mkDerivation rec {
  pname = "setserial";
  version = "2.17";

  src = fetchurl {
    url = "mirror://sourceforge/setserial/${pname}-${version}.tar.gz";
    sha256 = "0jkrnn3i8gbsl48k3civjmvxyv9rbm1qjha2cf2macdc439qfi3y";
  };

  nativeBuildInputs = [ groff ];

  installFlags = [ "DESTDIR=$(out)" ];

  postConfigure = ''
    sed -e s@/usr/man/@/share/man/@ -i Makefile
  '';

  preInstall = ''mkdir -p "$out/bin" "$out/share/man/man8"'';

  meta = {
    description = "Serial port configuration utility";
    platforms = lib.platforms.linux;
    license = lib.licenses.gpl2Only;
    mainProgram = "setserial";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -1695,6 +1695,7 @@ mapAliases {
  serial-unit-testing = throw "'serial-unit-testing' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
  serious-sans = throw "'serious-sans' has been renamed to 'serious-shanns', which is not currently packaged"; # Added 2025-01-26
  session-desktop-appimage = session-desktop;
  setserial = throw "'setserial' has been removed as it had been abandoned upstream"; # Added 2025-05-18
  sequoia = sequoia-sq; # Added 2023-06-26
  sexp = sexpp; # Added 2023-07-03
  sgrep = throw "'sgrep' has been removed as it was unmaintained upstream since 1998 and broken with gcc 14"; # Added 2025-05-17