Merge branch 'master' into staging-next

This commit is contained in:
Jan Tojnar
2021-03-12 19:58:39 +01:00
18 changed files with 193 additions and 59 deletions
+2 -2
View File
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "pgcenter";
version = "0.7.0";
version = "0.8.0";
src = fetchFromGitHub {
owner = "lesovsky";
repo = "pgcenter";
rev = "v${version}";
sha256 = "sha256-W/UUc0qwOvLSXYWepkCydst113BqR9EsZK0Es+6HSt8=";
sha256 = "sha256-ow26wuM7nw/WbeaPVcNm5iYUYLydeujhw+7BcTirPcA=";
};
vendorSha256 = "sha256-9hYiyZ34atmSL7JvuXyiGU7HR4E6qN7bGZlyU+hP+FU=";
+2 -2
View File
@@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, makeWrapper, jre, graphviz }:
stdenv.mkDerivation rec {
version = "1.2021.1";
version = "1.2021.2";
pname = "plantuml";
src = fetchurl {
url = "mirror://sourceforge/project/plantuml/${version}/plantuml.${version}.jar";
sha256 = "sha256-FOM+hao1lx6EJMccbhLzvVVmCR3F/igHTGN1vhhdmdQ=";
sha256 = "sha256-06PrqYf1Cc4FZPr0K2xUc83t+/qGbwMXe/BOV81Fuxc=";
};
nativeBuildInputs = [ makeWrapper ];
+38
View File
@@ -0,0 +1,38 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tfk8s";
version = "0.1.0";
src = fetchFromGitHub {
owner = "jrhouston";
repo = "tfk8s";
rev = version;
sha256 = "sha256-JzTWbkICOIfsHgMvpXz4bIWaXKKDAD8INSorMvnXiBw=";
};
vendorSha256 = "sha256-r0c3y+nRc/hCTAT31DasQjxZN86BT8jnJmsLM7Ugrq4=";
runVend = true;
buildFlagsArray = [
"-ldflags="
"-s"
"-w"
"-X main.toolVersion=${version}"
"-X main.builtBy=nixpkgs"
];
meta = with lib; {
description = "An utility to convert Kubernetes YAML manifests to Terraform's HCL format.";
license = licenses.mit;
longDescription = ''
tfk8s is a tool that makes it easier to work with the Terraform Kubernetes Provider.
If you want to copy examples from the Kubernetes documentation or migrate existing YAML manifests and use them with Terraform without having to convert YAML to HCL by hand, this tool is for you.
Features:
* Convert a YAML file containing multiple manifests.
* Strip out server side fields when piping kubectl get $R -o yaml | tfk8s --strip
'';
homepage = "https://github.com/jrhouston/tfk8s/";
maintainers = with maintainers; [ superherointj ];
};
}