This repository has no description
826 B
38 lines
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 pkg-config,
6 nettle,
7}:
8rustPlatform.buildRustPackage (finalAttrs: {
9 pname = "age-plugin-gpg";
10 version = "0.1.0";
11
12 src = fetchFromGitHub {
13 owner = "CertainLach";
14 repo = "age-plugin-gpg";
15 rev = "v${finalAttrs.version}";
16 hash = "sha256-HfCl+YAjKPNFtLAHjNyjlHhRxD85qZLWsfKzqORtj5U=";
17 };
18
19 cargoLock = {
20 lockFile = "${finalAttrs.src}/Cargo.lock";
21 };
22
23 nativeBuildInputs = [
24 pkg-config
25 rustPlatform.bindgenHook
26 ];
27
28 buildInputs = [ nettle ];
29
30 meta = {
31 description = "Age plugin utilizing gpg-agent & keygrips as recipients/identities";
32 homepage = "https://github.com/CertainLach/age-plugin-gpg";
33 license = lib.licenses.mit;
34 mainProgram = "age-plugin-gpg";
35 platforms = lib.platforms.unix;
36 maintainers = [ ];
37 };
38})