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:
commit
5ae5e0df3b
|
@ -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";
|
||||
|
|
41
pkgs/by-name/au/autologin/package.nix
Normal file
41
pkgs/by-name/au/autologin/package.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue