amber: init at 0.1.1 (#138159)

authored by Sibi Prabakaran and committed by GitHub 23acc562 c3a8016c

+30
+26
pkgs/tools/security/amber/default.nix
···
··· 1 + { lib, stdenv, rustPlatform, fetchFromGitHub, Security }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + # Renaming it to amber-secret because another package named amber exists 5 + pname = "amber-secret"; 6 + version = "0.1.1"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "fpco"; 10 + repo = "amber"; 11 + rev = "v${version}"; 12 + sha256 = "1l5c7vdi885z56nqqbm4sw9hvqk3rfzm0mgcwk5cbwjlrz7yjq4m"; 13 + }; 14 + 15 + cargoSha256 = "0dmhlyrw6yd7p80v7anz5nrd28bcrhq27vzy605dinddvncjn13q"; 16 + 17 + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 18 + 19 + meta = with lib; { 20 + description = "Manage secret values in-repo via public key cryptography"; 21 + homepage = "https://github.com/fpco/amber"; 22 + license = licenses.mit; 23 + maintainers = with maintainers; [ psibi ]; 24 + mainProgram = "amber"; 25 + }; 26 + }
+4
pkgs/top-level/all-packages.nix
··· 1100 inherit (darwin.apple_sdk.frameworks) Security; 1101 }; 1102 1103 inherit (callPackages ../development/tools/ammonite {}) 1104 ammonite_2_12 1105 ammonite_2_13;
··· 1100 inherit (darwin.apple_sdk.frameworks) Security; 1101 }; 1102 1103 + amber-secret = callPackage ../tools/security/amber { 1104 + inherit (darwin.apple_sdk.frameworks) Security; 1105 + }; 1106 + 1107 inherit (callPackages ../development/tools/ammonite {}) 1108 ammonite_2_12 1109 ammonite_2_13;