zowoq 2022-08-09 18:50:38 +10:00
parent 9ba8b938a4
commit 08051c14e4
2 changed files with 9 additions and 7 deletions

View file

@ -2,17 +2,17 @@
buildGoModule rec {
pname = "gomplate";
version = "3.10.0";
version = "3.11.2";
owner = "hairyhenderson";
rev = "v${version}";
src = fetchFromGitHub {
inherit owner rev;
repo = pname;
sha256 = "0dbi9saxbwcvypxc0s656ln9zq2vysx8dhrcz488nmy6rcpqiiah";
sha256 = "sha256-NIepoz1JToaX2EJCL/kqkpBJigJVy2Tkz0jGn4ukfvI=";
};
vendorSha256 = "0rvki8ghlbbaqgnjfsbs1jswj08jfzmnz9ilynv2c6kfkx9zs108";
vendorSha256 = "sha256-fXbwNX+GoujciZVxxe7Tl21MxWhyAD4cW/p8PCAAElw=";
postPatch = ''
# some tests require network access
@ -24,6 +24,11 @@ buildGoModule rec {
internal/tests/integration/datasources_vault*_test.go
'';
# TestInputDir_RespectsUlimit
preCheck = ''
ulimit -n 1024
'';
ldflags = [
"-s"
"-w"

View file

@ -23715,10 +23715,7 @@ with pkgs;
gomp = callPackage ../applications/version-management/gomp { };
gomplate = callPackage ../development/tools/gomplate {
# pinned due to build failure or vendoring problems. When unpinning double check with: nix-build -A $name.go-modules --rebuild
buildGoModule = buildGo117Module;
};
gomplate = callPackage ../development/tools/gomplate { };
gpm = callPackage ../servers/gpm {
ncurses = null; # Keep curses disabled for lack of value