depot/third_party/nixpkgs/pkgs/by-name/kx/kx-aspe-cli/package.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
920 B
Nix

{
lib,
rustPlatform,
fetchFromGitea,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "kx-aspe-cli";
version = "0-unstable-2024-04-06";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "keyoxide";
repo = "kx-aspe-cli";
rev = "492df7edae95a8636bb59c4e5c1607053dab2c78";
hash = "sha256-xSJTwyHNqDHyH6dgwlWnvqNCzTvmFntk+XgAaxODWAY=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
cargoHash = "sha256-ZZwb5WHKFMAP5yPT1DDi+nWy7rjM/UI6ahagNqTDDMM=";
meta = {
homepage = "https://github.com/rustic-rs/rustic";
changelog = "https://codeberg.org/keyoxide/kx-aspe-cli/src/commit/${src.rev}/CHANGELOG.md";
description = "Keyoxide profile generator CLI using ASPE";
mainProgram = "kx-aspe";
platforms = lib.platforms.linux;
license = [ lib.licenses.asl20 ];
maintainers = [ lib.maintainers.nobbz ];
};
}