mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
xtrlock-pam: python2 -> python3 (#351629)
This commit is contained in:
commit
81d58d9e24
@ -16150,6 +16150,12 @@
|
||||
githubId = 1538622;
|
||||
name = "Michael Reilly";
|
||||
};
|
||||
ondt = {
|
||||
name = "Ondrej Telka";
|
||||
email = "nix@ondt.dev";
|
||||
github = "ondt";
|
||||
githubId = 20520951;
|
||||
};
|
||||
onedragon = {
|
||||
name = "YiLong Liu";
|
||||
email = "18922251299@163.com";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, python2, pkg-config, pam, xorg }:
|
||||
{ lib, stdenv, fetchFromGitHub, python39, pkg-config, pam, xorg }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "xtrlock-pam";
|
||||
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ python2 pam xorg.libX11 ];
|
||||
buildInputs = [ python39 pam xorg.libX11 ];
|
||||
|
||||
configurePhase = ''
|
||||
substituteInPlace .config/options.py --replace /usr/include/security/pam_appl.h ${pam}/include/security/pam_appl.h
|
||||
@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
||||
homepage = "https://github.com/aanatoly/xtrlock-pam";
|
||||
description = "PAM based X11 screen locker";
|
||||
license = "unknown";
|
||||
maintainers = [ ];
|
||||
maintainers = with lib.maintainers; [ ondt ];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user