about summary refs log tree commit diff
path: root/pkgs/by-name/kx/kx-aspe-cli/package.nix
blob: 88be7a402aeb8b33efc1ab68b3b1761051fc43a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  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 ];
  };
}