nixpkgs/pkgs/applications/networking/cluster/terranix/default.nix

30 lines
599 B
Nix
Raw Normal View History

{ 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/
'';
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 ];
};
}