Merge pull request #202559 from AlekSi/fix-ferretdb

authored by Norbert Melzer and committed by GitHub 979dce74 ae87533b

+9 -6
+9 -6
pkgs/servers/nosql/ferretdb/default.nix
··· 5 6 buildGoModule rec { 7 pname = "ferretdb"; 8 - version = "0.7.1"; 9 10 src = fetchFromGitHub { 11 owner = "FerretDB"; 12 repo = "FerretDB"; 13 rev = "v${version}"; 14 - sha256 = "sha256-i3XCYVJfZ2sF4XGOxaBZqBOw7nRdzcGKhNNdqQMccPU="; 15 }; 16 17 postPatch = '' 18 - echo ${version} > internal/util/version/gen/version.txt 19 ''; 20 21 - vendorSha256 = "sha256-qyAc5EVg8QPTnXQjqJGpT3waDrfn8iXz+O1iESCzCIc="; 22 23 CGO_ENABLED = 0; 24 25 subPackages = [ "cmd/ferretdb" ]; 26 27 meta = with lib; { 28 description = "A truly Open Source MongoDB alternative"; 29 - homepage = "https://github.com/FerretDB/FerretDB"; 30 license = licenses.asl20; 31 - maintainers = with maintainers; [ dit7ya ]; 32 }; 33 }
··· 5 6 buildGoModule rec { 7 pname = "ferretdb"; 8 + version = "0.9.0"; 9 10 src = fetchFromGitHub { 11 owner = "FerretDB"; 12 repo = "FerretDB"; 13 rev = "v${version}"; 14 + sha256 = "sha256-+tmClWkW3uhBXuQzuSMJnzeA1rrkpLV0QLCzcKhbThw="; 15 }; 16 17 postPatch = '' 18 + echo v${version} > build/version/version.txt 19 + echo nixpkgs > build/version/package.txt 20 ''; 21 22 + vendorSha256 = "sha256-43FxDRcif8FDHyXdNL/FJEt5ZnCQ8r7d5Red3l9442Q="; 23 24 CGO_ENABLED = 0; 25 26 subPackages = [ "cmd/ferretdb" ]; 27 28 + tags = [ "ferretdb_tigris" ]; 29 + 30 meta = with lib; { 31 description = "A truly Open Source MongoDB alternative"; 32 + homepage = "https://www.ferretdb.io/"; 33 license = licenses.asl20; 34 + maintainers = with maintainers; [ dit7ya noisersup ]; 35 }; 36 }