nixpkgs/pkgs/tools/security/rucredstash/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
837 B
Nix
Raw Permalink Normal View History

2023-10-04 07:06:45 +02:00
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "rucredstash";
2023-10-04 07:06:45 +02:00
version = "0.9.2";
src = fetchFromGitHub {
owner = "psibi";
repo = "rucredstash";
rev = "v${version}";
2023-10-04 07:06:45 +02:00
hash = "sha256-trupBiinULzD8TAy3eh1MYXhQilO08xu2a4yN7wwhwk=";
};
2023-10-04 07:06:45 +02:00
cargoHash = "sha256-TYobVjjzrK3gprZcYyY98EvdASkq4urB+WiLlbJbwmk=";
2023-10-04 07:06:45 +02:00
buildInputs = lib.optional stdenv.isDarwin Security;
# Disable tests since it requires network access and relies on the
# presence of certain AWS infrastructure
doCheck = false;
meta = with lib; {
2023-10-04 07:06:45 +02:00
description = "Utility for managing credentials securely in AWS cloud";
homepage = "https://github.com/psibi/rucredstash";
license = licenses.mit;
maintainers = with maintainers; [ psibi ];
2023-11-23 03:51:17 +01:00
mainProgram = "rucredstash";
};
}