Unverified Commit e8a255c0 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

xtrlock-pam: drop

parent 20d41bf3
Loading
Loading
Loading
Loading
+0 −42
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  python39,
  pkg-config,
  pam,
  xorg,
}:

stdenv.mkDerivation {
  pname = "xtrlock-pam";
  version = "3.4-post-20150909";

  src = fetchFromGitHub {
    owner = "aanatoly";
    repo = "xtrlock-pam";
    rev = "6f4920fcfff54791c0779057e9efacbbbbc05df6";
    sha256 = "sha256-TFfs418fpjBrAJNGW8U3jE0K7jQkfL4vCquAViKkXPw=";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [
    python39
    pam
    xorg.libX11
  ];

  configurePhase = ''
    substituteInPlace .config/options.py --replace /usr/include/security/pam_appl.h ${pam}/include/security/pam_appl.h
    substituteInPlace src/xtrlock.c --replace system-local-login xscreensaver
    python configure --prefix=$out
  '';

  meta = {
    homepage = "https://github.com/aanatoly/xtrlock-pam";
    description = "PAM based X11 screen locker";
    license = "unknown";
    maintainers = with lib.maintainers; [ ondt ];
    platforms = with lib.platforms; linux;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -1543,6 +1543,7 @@ mapAliases {
  xplayer = throw "xplayer has been removed as the upstream project was archived"; # Added 2024-12-27
  xprite-editor = throw "'xprite-editor' has been removed due to lack of maintenance upstream. Consider using 'pablodraw' or 'aseprite' instead"; # Added 2024-09-14
  xsv = throw "'xsv' has been removed due to lack of upstream maintenance. Please see 'xan' for a maintained alternative";
  xtrlock-pam = throw "xtrlock-pam has been removed because it is unmaintained for 10 years and doesn't support Python 3.10 or newer"; # Added 2025-01-25
  xulrunner = firefox-unwrapped; # Added 2023-11-03
  xvfb_run = throw "'xvfb_run' has been renamed to/replaced by 'xvfb-run'"; # Converted to throw 2024-10-17
  xwaylandvideobridge = libsForQt5.xwaylandvideobridge; # Added 2024-09-27