3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/terranix/default.nix

29 lines
597 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, ... }:
2020-09-26 19:15:57 +01:00
stdenv.mkDerivation rec {
pname = "terranix";
version = "2.4.0";
2020-09-26 19:15:57 +01:00
src = fetchFromGitHub {
owner = "mrVanDalo";
repo = "terranix";
rev = version;
sha256 = "sha256-3N4a5VhZqIgJW11w8oJKJ9T8mhfwEM33kEwV/zZkCs8=";
2020-09-26 19:15:57 +01:00
};
installPhase = ''
mkdir -p $out
mv bin core modules lib $out/
'';
meta = with lib; {
2020-09-26 19:15:57 +01:00
description = "A NixOS like terraform-json generator";
homepage = "https://terranix.org";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ mrVanDalo ];
};
}