Loading pkgs/development/tools/gomplate/default.nix +14 −15 Original line number Diff line number Diff line Loading @@ -5,38 +5,37 @@ buildGoModule rec { pname = "gomplate"; version = "3.11.8"; version = "4.1.0"; src = fetchFromGitHub { owner = "hairyhenderson"; repo = pname; repo = "gomplate"; rev = "refs/tags/v${version}"; hash = "sha256-pE9TLEBY1KQvgMFwVJfn5kojESqZURcbCwRt4jrexhk="; hash = "sha256-shbG0q86wlSjoCK2K7hNdUCwNPiQp94GWQJ1e71A1T0="; }; vendorHash = "sha256-09QUEudbWnO11iwJafF9zoYqbTr7SVBUiPWTHGnZ06Q="; vendorHash = "sha256-UKqSKypAm6gt2JUCZh/DyfWo8uJeMp0M+4FiqwzzHIA="; postPatch = '' ldflags = [ "-s" "-X github.com/${src.owner}/${pname}/v4/version.Version=${version}" ]; preCheck = '' # some tests require network access rm net/net_test.go \ internal/tests/integration/datasources_blob_test.go \ internal/tests/integration/datasources_git_test.go internal/tests/integration/datasources_git_test.go \ render_test.go # some tests rely on external tools we'd rather not depend on rm internal/tests/integration/datasources_consul_test.go \ internal/tests/integration/datasources_vault*_test.go ''; # TestInputDir_RespectsUlimit preCheck = '' ulimit -n 1024 postInstall = '' rm $out/bin/gen ''; ldflags = [ "-s" "-w" "-X github.com/${src.owner}/${pname}/v3/version.Version=${version}" ]; meta = with lib; { description = "Flexible commandline tool for template rendering"; mainProgram = "gomplate"; Loading Loading
pkgs/development/tools/gomplate/default.nix +14 −15 Original line number Diff line number Diff line Loading @@ -5,38 +5,37 @@ buildGoModule rec { pname = "gomplate"; version = "3.11.8"; version = "4.1.0"; src = fetchFromGitHub { owner = "hairyhenderson"; repo = pname; repo = "gomplate"; rev = "refs/tags/v${version}"; hash = "sha256-pE9TLEBY1KQvgMFwVJfn5kojESqZURcbCwRt4jrexhk="; hash = "sha256-shbG0q86wlSjoCK2K7hNdUCwNPiQp94GWQJ1e71A1T0="; }; vendorHash = "sha256-09QUEudbWnO11iwJafF9zoYqbTr7SVBUiPWTHGnZ06Q="; vendorHash = "sha256-UKqSKypAm6gt2JUCZh/DyfWo8uJeMp0M+4FiqwzzHIA="; postPatch = '' ldflags = [ "-s" "-X github.com/${src.owner}/${pname}/v4/version.Version=${version}" ]; preCheck = '' # some tests require network access rm net/net_test.go \ internal/tests/integration/datasources_blob_test.go \ internal/tests/integration/datasources_git_test.go internal/tests/integration/datasources_git_test.go \ render_test.go # some tests rely on external tools we'd rather not depend on rm internal/tests/integration/datasources_consul_test.go \ internal/tests/integration/datasources_vault*_test.go ''; # TestInputDir_RespectsUlimit preCheck = '' ulimit -n 1024 postInstall = '' rm $out/bin/gen ''; ldflags = [ "-s" "-w" "-X github.com/${src.owner}/${pname}/v3/version.Version=${version}" ]; meta = with lib; { description = "Flexible commandline tool for template rendering"; mainProgram = "gomplate"; Loading