···11+{ lib, buildGoModule, fetchFromGitHub }:
22+33+buildGoModule rec {
44+ pname = "tfk8s";
55+ version = "0.1.0";
66+77+ src = fetchFromGitHub {
88+ owner = "jrhouston";
99+ repo = "tfk8s";
1010+ rev = version;
1111+ sha256 = "sha256-JzTWbkICOIfsHgMvpXz4bIWaXKKDAD8INSorMvnXiBw=";
1212+ };
1313+1414+ vendorSha256 = "sha256-r0c3y+nRc/hCTAT31DasQjxZN86BT8jnJmsLM7Ugrq4=";
1515+ runVend = true;
1616+1717+ buildFlagsArray = [
1818+ "-ldflags="
1919+ "-s"
2020+ "-w"
2121+ "-X main.toolVersion=${version}"
2222+ "-X main.builtBy=nixpkgs"
2323+ ];
2424+2525+ meta = with lib; {
2626+ description = "An utility to convert Kubernetes YAML manifests to Terraform's HCL format.";
2727+ license = licenses.mit;
2828+ longDescription = ''
2929+ tfk8s is a tool that makes it easier to work with the Terraform Kubernetes Provider.
3030+ 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.
3131+ Features:
3232+ * Convert a YAML file containing multiple manifests.
3333+ * Strip out server side fields when piping kubectl get $R -o yaml | tfk8s --strip
3434+ '';
3535+ homepage = "https://github.com/jrhouston/tfk8s/";
3636+ maintainers = with maintainers; [ superherointj ];
3737+ };
3838+}
···262262 google-gflags = gflags; # added 2019-07-25
263263 google-music-scripts = throw "google-music-scripts has been removed because Google Play Music was discontinued"; # added 2021-03-07
264264 google-musicmanager = throw "google-musicmanager has been removed because Google Play Music was discontinued"; # added 2021-03-07
265265- google-play-music-desktop-player = throw "google-play-music-desktop-player has been removed because Google Play Music was discontinued"; # added 2021-03-07
266265 googleAuthenticator = google-authenticator; # added 2016-10-16
267266 grantlee5 = libsForQt5.grantlee; # added 2015-12-19
268267 gsettings_desktop_schemas = gsettings-desktop-schemas; # added 2018-02-25