Unverified Commit faa448fa authored by Yureka's avatar Yureka Committed by GitHub
Browse files

ferretdb: 0.9.2 -> 0.9.3 (#220997)

parent 44cd2bd9
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -5,13 +5,13 @@

buildGoModule rec {
  pname = "ferretdb";
  version = "0.9.2";
  version = "0.9.3";

  src = fetchFromGitHub {
    owner = "FerretDB";
    repo = "FerretDB";
    rev = "v${version}";
    sha256 = "sha256-lJlj5GNgrllcaEednxVCmMPHG2aU4z3mKkm9t0cO5Tk=";
    sha256 = "sha256-UVRrCzgQdr86cc3jG+FSI/y3dxkHxoydMncXMgPMcz4=";
  };

  postPatch = ''
@@ -19,7 +19,7 @@ buildGoModule rec {
    echo nixpkgs     > build/version/package.txt
  '';

  vendorSha256 = "sha256-I5ucq3K0lRsokG9lahmBUH9mIYa5tgHnL+vxKSzW1hw=";
  vendorSha256 = "sha256-pvRs+X8DbHeThJPZ3St+MzLrQBLHRtdkKSHjBax3V10=";

  CGO_ENABLED = 0;

@@ -27,6 +27,15 @@ buildGoModule rec {

  tags = [ "ferretdb_tigris" ];

  # tests in cmd/ferretdb are not production relevant
  doCheck = false;

  # the binary panics if something required wasn't set during compilation
  doInstallCheck = true;
  installCheckPhase = ''
    $out/bin/ferretdb --version | grep ${version}
  '';

  meta = with lib; {
    description = "A truly Open Source MongoDB alternative";
    homepage = "https://www.ferretdb.io/";