From fb90e7296f00cd6a56ea77b5de81448135b71f63 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 29 Apr 2024 15:04:24 -0700 Subject: add `robloxenv` to manage hashi credentials I never know how to get the credentials for some hashi components. This script helps with getting the credentials I need at the edge. --- packages/robloxenv/default.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 packages/robloxenv/default.nix (limited to 'packages/robloxenv/default.nix') diff --git a/packages/robloxenv/default.nix b/packages/robloxenv/default.nix new file mode 100644 index 0000000..ca675e8 --- /dev/null +++ b/packages/robloxenv/default.nix @@ -0,0 +1,29 @@ +{ lib, python3 }: + +python3.pkgs.buildPythonApplication rec { + pname = "robloxenv"; + src = ./robloxenv.py; + version = "0.1.0"; + format = "other"; + + buildInputs = [ python3 ]; + propagatedBuildInputs = with python3.pkgs; [ + requests + click + ]; + + dontUnpack = true; + dontBuild = true; + + installPhase = '' + mkdir -p $out/bin + cp $src $out/bin/${pname} + ''; + + meta = with lib; { + description = "This is a tool."; + license = with licenses; [ mit ]; + platforms = platforms.unix; + maintainers = with maintainers; [ fcuny ]; + }; +} -- cgit v1.2.3