Merge pull request #202559 from AlekSi/fix-ferretdb
This commit is contained in:
commit
979dce7414
1 changed files with 9 additions and 6 deletions
|
@ -5,29 +5,32 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "ferretdb";
|
pname = "ferretdb";
|
||||||
version = "0.7.1";
|
version = "0.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "FerretDB";
|
owner = "FerretDB";
|
||||||
repo = "FerretDB";
|
repo = "FerretDB";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-i3XCYVJfZ2sF4XGOxaBZqBOw7nRdzcGKhNNdqQMccPU=";
|
sha256 = "sha256-+tmClWkW3uhBXuQzuSMJnzeA1rrkpLV0QLCzcKhbThw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
echo ${version} > internal/util/version/gen/version.txt
|
echo v${version} > build/version/version.txt
|
||||||
|
echo nixpkgs > build/version/package.txt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
vendorSha256 = "sha256-qyAc5EVg8QPTnXQjqJGpT3waDrfn8iXz+O1iESCzCIc=";
|
vendorSha256 = "sha256-43FxDRcif8FDHyXdNL/FJEt5ZnCQ8r7d5Red3l9442Q=";
|
||||||
|
|
||||||
CGO_ENABLED = 0;
|
CGO_ENABLED = 0;
|
||||||
|
|
||||||
subPackages = [ "cmd/ferretdb" ];
|
subPackages = [ "cmd/ferretdb" ];
|
||||||
|
|
||||||
|
tags = [ "ferretdb_tigris" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A truly Open Source MongoDB alternative";
|
description = "A truly Open Source MongoDB alternative";
|
||||||
homepage = "https://github.com/FerretDB/FerretDB";
|
homepage = "https://www.ferretdb.io/";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ dit7ya ];
|
maintainers = with maintainers; [ dit7ya noisersup ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue