2023-10-09 19:29:22 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
|
2022-01-22 01:22:15 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rucredstash";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.9.2";
|
2022-01-22 01:22:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "psibi";
|
|
|
|
repo = "rucredstash";
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-trupBiinULzD8TAy3eh1MYXhQilO08xu2a4yN7wwhwk=";
|
2022-01-22 01:22:15 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
cargoHash = "sha256-TYobVjjzrK3gprZcYyY98EvdASkq4urB+WiLlbJbwmk=";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
|
2022-01-22 01:22:15 +00:00
|
|
|
|
|
|
|
# Disable tests since it requires network access and relies on the
|
|
|
|
# presence of certain AWS infrastructure
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-10-09 19:29:22 +00:00
|
|
|
description = "Utility for managing credentials securely in AWS cloud";
|
2022-01-22 01:22:15 +00:00
|
|
|
homepage = "https://github.com/psibi/rucredstash";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ psibi ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "rucredstash";
|
2022-01-22 01:22:15 +00:00
|
|
|
};
|
|
|
|
}
|