uutils-login: init at 0.0.1-unstable-2026-01-08

This commit is contained in:
kyehn
2026-01-17 10:42:56 +00:00
parent e67bc8716c
commit 1ab82ab851
+33
View File
@@ -0,0 +1,33 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "uutils-login";
version = "0.0.1-unstable-2026-01-08";
src = fetchFromGitHub {
owner = "uutils";
repo = "login";
rev = "24c158ef78ef8e769337a91c563223a1bf1b58a7";
hash = "sha256-1pJhFtY3zJTDIKX9SXuv3yfrvPMNCiC/b7WKdBU1Nqk=";
};
cargoHash = "sha256-V0Cb3Vz3MpVxqaHpIxrfYD+EAjjQ0jKI9Qc6pN13deg=";
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "Rust reimplemtation of the login project";
homepage = "https://github.com/uutils/login";
license = lib.licenses.mit;
mainProgram = "shadow";
maintainers = with lib.maintainers; [ kyehn ];
platforms = lib.platforms.unix;
};
})