aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/servers/hashi-ui
diff options
context:
space:
mode:
authorMx Kookie <kookie@spacekookie.de>2020-12-21 06:05:12 +0100
committerMx Kookie <kookie@spacekookie.de>2020-12-21 06:05:12 +0100
commitf107be784e6d5da5f90735765a68fdff96acfbb4 (patch)
tree145573a598009fb6adbd5ef7fbce0a850681f5f0 /infra/libkookie/nixpkgs/pkgs/servers/hashi-ui
parent2e04b35e5ac3a9123cafffbc84494fa4d389cca0 (diff)
parente9158eca70ae59e73fae23be5d13d3fa0cfc78b4 (diff)
Add 'infra/libkookie/nixpkgs/' from commit 'e9158eca70ae59e73fae23be5d13d3fa0cfc78b4'
git-subtree-dir: infra/libkookie/nixpkgs git-subtree-mainline: 2e04b35e5ac3a9123cafffbc84494fa4d389cca0 git-subtree-split: e9158eca70ae59e73fae23be5d13d3fa0cfc78b4
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/servers/hashi-ui')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/servers/hashi-ui/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/servers/hashi-ui/default.nix b/infra/libkookie/nixpkgs/pkgs/servers/hashi-ui/default.nix
new file mode 100644
index 000000000000..70926e37739a
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/servers/hashi-ui/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ name = "hashi-ui";
+ version = "1.3.8";
+
+ src = fetchurl {
+ url = "https://github.com/jippi/hashi-ui/releases/download/v${version}/hashi-ui-linux-amd64";
+ sha256 = "999a34b6e99657ffc7e6c98a15b8ea744c28420e891a8802c7d99b737752dfb6";
+ };
+
+ dontUnpack = true;
+ sourceRoot = ".";
+
+ installPhase = ''
+ install -m755 -D $src $out/bin/hashi-ui
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/jippi/hashi-ui";
+ description = "A modern user interface for hashicorp Consul & Nomad";
+ platforms = [ "x86_64-linux" ];
+ maintainers = with maintainers; [ numkem ];
+ license = licenses.mit;
+ };
+}