Loading pkgs/by-name/go/go-httpbin/package.nix +5 −7 Original line number Diff line number Diff line Loading @@ -2,19 +2,20 @@ lib, buildGoModule, fetchFromGitHub, versionCheckHook, nixosTests, nix-update-script, }: buildGoModule (finalAttrs: { pname = "go-httpbin"; version = "2.21.0"; version = "2.22.0"; src = fetchFromGitHub { owner = "mccutchen"; repo = "go-httpbin"; tag = "v${finalAttrs.version}"; hash = "sha256-QJskXXieiFr406WI8gGtgcoL4pHEVzNOwM6JyYk+0EA="; hash = "sha256-+DeBJoi7bXuXx3HcO9bdGlCXiaETwsS4OawVBi3Q57o="; }; vendorHash = null; Loading @@ -24,17 +25,14 @@ buildGoModule (finalAttrs: { ldflags = [ "-s" "-w" "-X main.version=${finalAttrs.version}" ]; # tests are flaky doCheck = false; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck $out/bin/go-httpbin --help &> /dev/null runHook postInstallCheck ''; passthru = { tests = { inherit (nixosTests) go-httpbin; }; Loading Loading
pkgs/by-name/go/go-httpbin/package.nix +5 −7 Original line number Diff line number Diff line Loading @@ -2,19 +2,20 @@ lib, buildGoModule, fetchFromGitHub, versionCheckHook, nixosTests, nix-update-script, }: buildGoModule (finalAttrs: { pname = "go-httpbin"; version = "2.21.0"; version = "2.22.0"; src = fetchFromGitHub { owner = "mccutchen"; repo = "go-httpbin"; tag = "v${finalAttrs.version}"; hash = "sha256-QJskXXieiFr406WI8gGtgcoL4pHEVzNOwM6JyYk+0EA="; hash = "sha256-+DeBJoi7bXuXx3HcO9bdGlCXiaETwsS4OawVBi3Q57o="; }; vendorHash = null; Loading @@ -24,17 +25,14 @@ buildGoModule (finalAttrs: { ldflags = [ "-s" "-w" "-X main.version=${finalAttrs.version}" ]; # tests are flaky doCheck = false; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck $out/bin/go-httpbin --help &> /dev/null runHook postInstallCheck ''; passthru = { tests = { inherit (nixosTests) go-httpbin; }; Loading