From d7981c878884b107a864690844756ada3542fb35 Mon Sep 17 00:00:00 2001 From: Colin Arnott Date: Tue, 8 Nov 2022 08:33:21 +0000 Subject: [PATCH] inframap: init at 0.6.7 Fixes #185136 --- .../networking/cluster/inframap/default.nix | 30 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/applications/networking/cluster/inframap/default.nix diff --git a/pkgs/applications/networking/cluster/inframap/default.nix b/pkgs/applications/networking/cluster/inframap/default.nix new file mode 100644 index 000000000000..38307cadc765 --- /dev/null +++ b/pkgs/applications/networking/cluster/inframap/default.nix @@ -0,0 +1,30 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: +buildGoModule rec { + pname = "inframap"; + version = "0.6.7"; + + src = fetchFromGitHub { + owner = "cycloidio"; + repo = pname; + rev = "v${version}"; + hash = "sha256-Ol2FkCP7Wq7FcwOaDw9d20v4jkNIfewdMErz/kJR0/g="; + }; + + ldflags = [ + "-s" + "-w" + "-X github.com/cycloidio/inframap/cmd.Version=${version}" + ]; + + vendorHash = "sha256-fD/u0gYfbhyYWjXtBDtL7zWRu7b7mzpLPEjB+ictP6o="; + + meta = with lib; { + description = "Read your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant."; + homepage = "https://github.com/cycloidio/inframap"; + license = licenses.mit; + maintainers = with maintainers; [ urandom ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8e0eae0abd0d..746c27cf1209 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29547,6 +29547,8 @@ with pkgs; imhex = callPackage ../applications/editors/imhex { }; + inframap = callPackage ../applications/networking/cluster/inframap {}; + inkcut = libsForQt5.callPackage ../applications/misc/inkcut { }; inklingreader = callPackage ../tools/misc/inklingreader { };