2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ... }:
|
2020-09-26 19:15:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "terranix";
|
2021-10-27 21:15:36 +01:00
|
|
|
version = "2.4.0";
|
2020-09-26 19:15:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mrVanDalo";
|
|
|
|
repo = "terranix";
|
|
|
|
rev = version;
|
2021-10-27 21:15:36 +01:00
|
|
|
sha256 = "sha256-3N4a5VhZqIgJW11w8oJKJ9T8mhfwEM33kEwV/zZkCs8=";
|
2020-09-26 19:15:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
mv bin core modules lib $out/
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|