mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
37 lines
920 B
Nix
37 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 ];
|
|
};
|
|
}
|