envio: 0.6.1 -> 0.7.0; add nix-update-script (#514162)

This commit is contained in:
Yohann Boniface
2026-05-02 10:30:17 +00:00
committed by GitHub
+13 -6
View File
@@ -1,25 +1,28 @@
{
stdenv,
lib,
fetchFromGitHub,
installShellFiles,
gpgme,
dbus,
libgpg-error,
pkg-config,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "envio";
version = "0.6.1";
version = "0.7.0";
src = fetchFromGitHub {
owner = "envio-cli";
owner = "humblepenguinn";
repo = "envio";
rev = "v${finalAttrs.version}";
hash = "sha256-je0DBoBIayFK//Aija5bnO/2z+hxNWgVkwOgxMyq5s4=";
hash = "sha256-uiuJ3yFuU5S0e6SrD1C4tU5Ve/VBoGmyclbokESDZAw=";
};
cargoHash = "sha256-stb5BZ77yBUjP6p3yfdgtN6fkE7wWU6A+sPAmc8YZD0=";
cargoHash = "sha256-eECjTnqjy38jA5kHddPaBZaZ/1ErHB7uQPbZYNFBcSU=";
nativeBuildInputs = [
pkg-config
@@ -29,15 +32,19 @@ rustPlatform.buildRustPackage (finalAttrs: {
buildInputs = [
libgpg-error
gpgme
]
++ lib.optionals stdenv.hostPlatform.isLinux [
dbus
];
postInstall = ''
installManPage man/*.1
'';
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://envio-cli.github.io/home";
changelog = "https://github.com/envio-cli/envio/blob/${finalAttrs.version}/CHANGELOG.md";
changelog = "https://github.com/humblepenguinn/envio/blob/v${finalAttrs.version}/CHANGELOG.md";
description = "Modern and secure CLI tool for managing environment variables";
mainProgram = "envio";
longDescription = ''