forked from mirrors/nixpkgs
Merge pull request #202559 from AlekSi/fix-ferretdb
This commit is contained in:
commit
979dce7414
|
@ -5,29 +5,32 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "ferretdb";
|
||||
version = "0.7.1";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FerretDB";
|
||||
repo = "FerretDB";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-i3XCYVJfZ2sF4XGOxaBZqBOw7nRdzcGKhNNdqQMccPU=";
|
||||
sha256 = "sha256-+tmClWkW3uhBXuQzuSMJnzeA1rrkpLV0QLCzcKhbThw=";
|
||||
};
|
||||
|
||||
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;
|
||||
|
||||
subPackages = [ "cmd/ferretdb" ];
|
||||
|
||||
tags = [ "ferretdb_tigris" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A truly Open Source MongoDB alternative";
|
||||
homepage = "https://github.com/FerretDB/FerretDB";
|
||||
homepage = "https://www.ferretdb.io/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ dit7ya ];
|
||||
maintainers = with maintainers; [ dit7ya noisersup ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue