From e3a920bfa9a629ec218313c01452fa7138533989 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sat, 26 Sep 2020 20:15:57 +0200 Subject: [PATCH] terranix: init at 2.3.0 --- .../networking/cluster/terranix/default.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/applications/networking/cluster/terranix/default.nix diff --git a/pkgs/applications/networking/cluster/terranix/default.nix b/pkgs/applications/networking/cluster/terranix/default.nix new file mode 100644 index 00000000000..1954f867eb0 --- /dev/null +++ b/pkgs/applications/networking/cluster/terranix/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchFromGitHub, ... }: + +stdenv.mkDerivation rec { + + pname = "terranix"; + version = "2.3.0"; + + src = fetchFromGitHub { + owner = "mrVanDalo"; + repo = "terranix"; + rev = version; + sha256 = "030067h3gjc02llaa7rx5iml0ikvw6szadm0nrss2sqzshsfimm4"; + }; + + installPhase = '' + mkdir -p $out + mv bin core modules lib $out/ + ''; + + meta = with stdenv.lib; { + description = "A NixOS like terraform-json generator"; + homepage = "https://terranix.org"; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ mrVanDalo ]; + }; + +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 11b24dfc3f7..c73c743d1cc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27629,6 +27629,8 @@ in terragrunt = callPackage ../applications/networking/cluster/terragrunt {}; + terranix = callPackage ../applications/networking/cluster/terranix {}; + tilt = callPackage ../applications/networking/cluster/tilt {}; timeular = callPackage ../applications/office/timeular {};