Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1.3 KiB
Nix
57 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
installShellFiles,
|
|
gpgme,
|
|
libgpg-error,
|
|
pkg-config,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "envio";
|
|
version = "0.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "envio-cli";
|
|
repo = "envio";
|
|
rev = "v${version}";
|
|
hash = "sha256-je0DBoBIayFK//Aija5bnO/2z+hxNWgVkwOgxMyq5s4=";
|
|
};
|
|
|
|
cargoHash = "sha256-stb5BZ77yBUjP6p3yfdgtN6fkE7wWU6A+sPAmc8YZD0=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
installShellFiles
|
|
];
|
|
|
|
buildInputs = [
|
|
libgpg-error
|
|
gpgme
|
|
];
|
|
|
|
postInstall = ''
|
|
installManPage man/*.1
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://envio-cli.github.io/home";
|
|
changelog = "https://github.com/envio-cli/envio/blob/${version}/CHANGELOG.md";
|
|
description = "Modern and secure CLI tool for managing environment variables";
|
|
mainProgram = "envio";
|
|
longDescription = ''
|
|
Envio is a command-line tool that simplifies the management of
|
|
environment variables across multiple profiles. It allows users to easily
|
|
switch between different configurations and apply them to their current
|
|
environment.
|
|
'';
|
|
license = with lib.licenses; [
|
|
mit
|
|
asl20
|
|
];
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ afh ];
|
|
};
|
|
}
|