2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ... }:
|
2020-09-26 18:15:57 +00:00
|
|
|
|
|
|
|
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/
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-09-26 18:15:57 +00:00
|
|
|
description = "A NixOS like terraform-json generator";
|
|
|
|
homepage = "https://terranix.org";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ mrVanDalo ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|