1 { lib, buildGoModule, fetchFromGitHub, bash }:
4 pname = "kubectl-neat";
7 src = fetchFromGitHub {
11 hash = "sha256-j8v0zJDBqHzmLamIZPW9UvMe9bv/m3JUQKY+wsgMTFk=";
14 vendorHash = "sha256-vGXoYR0DT9V1BD/FN/4szOal0clsLlqReTFkAd2beMw=";
17 # Replace path to bash in a script
18 # Without this change, there's a problem when running tests
19 sed 's,#!/bin/bash,#!${bash}/bin/bash,' -i test/kubectl-stub
23 description = "Clean up Kubernetes yaml and json output to make it readable";
24 homepage = "https://github.com/itaysk/kubectl-neat";
25 changelog = "https://github.com/itaysk/kubectl-neat/releases/tag/v${version}";
26 license = licenses.asl20;
27 maintainers = [ maintainers.koralowiec ];