Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
36 lines
920 B
Nix
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 ];
|
|
};
|
|
}
|