nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchCrate,
5 pkg-config,
6 dbus,
7 nix-update-script,
8}:
9
10rustPlatform.buildRustPackage (finalAttrs: {
11 pname = "secretspec";
12 version = "0.6.2";
13
14 src = fetchCrate {
15 inherit (finalAttrs) pname version;
16 hash = "sha256-ZbyeYol8TaQz4ljTHTIHIlQwxmi/fr/ReILIOtilfEY=";
17 };
18
19 cargoHash = "sha256-UcSHFf9afU+2gl6K7XkYNEkJvslTkEO9u7qkNOKSNxg=";
20
21 nativeBuildInputs = [ pkg-config ];
22 buildInputs = [ dbus ];
23
24 passthru.updateScript = nix-update-script { };
25
26 meta = {
27 description = "Declarative secrets, every environment, any provider";
28 homepage = "https://secretspec.dev";
29 license = with lib.licenses; [ asl20 ];
30 maintainers = with lib.maintainers; [
31 domenkozar
32 sandydoo
33 ];
34 mainProgram = "secretspec";
35 };
36})