Unverified Commit 42b2a117 authored by Anthony Roussel's avatar Anthony Roussel
Browse files
parent c598bbfe
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -16,23 +16,23 @@ buildGoModule rec {
  pname = "goss";

  # Don't forget to update dgoss to the same version.
  version = "0.4.6";
  version = "0.4.7";

  src = fetchFromGitHub {
    owner = "goss-org";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-4LJD70Y6nxRWdcaPe074iP2MVUMDgoTOwWbC1JecVcI=";
    hash = "sha256-KP0i+ePmkx43MdokVQO3CvTsdIFO7rCWLd8vJVC9Qf0=";
  };

  vendorHash = "sha256-5/vpoJZu/swNwQQXtW6wuEVCtOq6HsbFywuipaiwHfs=";
  vendorHash = "sha256-VLIDAlLO6COGDKDN12bYIBluFVgqPEmm8QRfSNPfLJY=";

  CGO_ENABLED = 0;

  ldflags = [
    "-s"
    "-w"
    "-X main.version=v${version}"
    "-X github.com/goss-org/goss/util.Version=v${version}"
  ];

  nativeBuildInputs = [ makeWrapper ];