1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

autologin: init at 1.0.0 (#340557)

This commit is contained in:
Aleksana 2024-09-23 22:45:27 +08:00 committed by GitHub
commit 5ae5e0df3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 48 additions and 0 deletions

View file

@ -2661,6 +2661,13 @@
githubId = 7346933;
name = "betaboon";
};
beviu = {
name = "beviu";
email = "nixpkgs@beviu.com";
github = "beviu";
githubId = 56923875;
keys = [ { fingerprint = "30D6 A755 E3C3 5797 CBBB 05B6 CD20 2E66 5CAD 7D06"; } ];
};
bew = {
email = "benoit.dechezelles@gmail.com";
github = "bew";

View file

@ -0,0 +1,41 @@
{
lib,
stdenv,
fetchFromSourcehut,
meson,
ninja,
pam,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "autologin";
version = "1.0.0";
src = fetchFromSourcehut {
owner = "~kennylevinsen";
repo = "autologin";
rev = version;
hash = "sha256-Cy4v/1NuaiSr5Bl6SQMWk5rga8h1QMBUkHpN6M3bWOc=";
};
strictDeps = true;
nativeBuildInputs = [
meson
ninja
];
buildInputs = [ pam ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Run a command inside of a new PAM user session";
homepage = "https://sr.ht/~kennylevinsen/autologin";
changelog = "https://git.sr.ht/~kennylevinsen/autologin/refs/${version}";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ beviu ];
mainProgram = "autologin";
};
}