uutils-{tar,login,hostname}: init (#478872)

This commit is contained in:
Gaétan Lepage
2026-01-21 16:33:44 +00:00
committed by GitHub
3 changed files with 99 additions and 0 deletions
@@ -0,0 +1,33 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "uutils-hostname";
version = "0.0.1-unstable-2026-01-08";
src = fetchFromGitHub {
owner = "uutils";
repo = "hostname";
rev = "a5590e823e2cb488ad14f61dee92e04cb4dc2704";
hash = "sha256-nWRkqONxbSwhphULpM+m14H/DSPmM4XdLJ7q2D4kooo=";
};
cargoHash = "sha256-1H4h01IqLVZrXNjnI36lGgsmg8rxHDAn9sbuvUxqPEQ=";
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "Rust reimplementation of the hostname project";
homepage = "https://github.com/uutils/hostname";
license = lib.licenses.mit;
mainProgram = "hostname";
maintainers = with lib.maintainers; [ kyehn ];
platforms = lib.platforms.unix;
};
})
+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;
};
})
+33
View File
@@ -0,0 +1,33 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "uutils-tar";
version = "0.0.1-unstable-2026-01-08";
src = fetchFromGitHub {
owner = "uutils";
repo = "tar";
rev = "a73ac381d8fd78f8cb05236d26edfdae37a80ee3";
hash = "sha256-b8Nzp5zZuULH5YkCexVOPxioPiuauGL4+KarBAdVAd4=";
};
cargoHash = "sha256-UFRe+dBQhsV91tenZY4uqw9gs4ZqbYDtvBeA98dk3po=";
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "Rust implementation of tar";
homepage = "https://github.com/uutils/tar";
license = lib.licenses.mit;
mainProgram = "tarapp";
maintainers = with lib.maintainers; [ kyehn ];
platforms = lib.platforms.unix;
};
})