5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
28 lines
804 B
Nix
28 lines
804 B
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rucredstash";
|
|
version = "0.9.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "psibi";
|
|
repo = "rucredstash";
|
|
rev = "v${version}";
|
|
hash = "sha256-trupBiinULzD8TAy3eh1MYXhQilO08xu2a4yN7wwhwk=";
|
|
};
|
|
|
|
cargoHash = "sha256-TYobVjjzrK3gprZcYyY98EvdASkq4urB+WiLlbJbwmk=";
|
|
|
|
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; {
|
|
description = "Utility for managing credentials securely in AWS cloud";
|
|
homepage = "https://github.com/psibi/rucredstash";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ psibi ];
|
|
};
|
|
}
|