ferretdb: init at 0.5.2 (#188584)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by Mostly Void Sandro and committed by GitHub 5518e6ab c209faac

+35
+33
pkgs/servers/nosql/ferretdb/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "ferretdb"; 8 + version = "0.5.2"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "FerretDB"; 12 + repo = "FerretDB"; 13 + rev = "v${version}"; 14 + sha256 = "sha256-WSdscZ1/Dix83RE95Iv61rdaSBWx1GMi6qOIPNus+ZI="; 15 + }; 16 + 17 + postPatch = '' 18 + echo ${version} > internal/util/version/gen/version.txt 19 + ''; 20 + 21 + vendorSha256 = "sha256-fGmGE08w9w2QnBVdMZ2IKo8Zq3euJGCBVTTHNKYFY3U="; 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 + }
+2
pkgs/top-level/all-packages.nix
··· 22675 22675 inherit (darwin.apple_sdk.frameworks) Security; 22676 22676 }; 22677 22677 22678 + ferretdb = callPackage ../servers/nosql/ferretdb { }; 22679 + 22678 22680 felix = callPackage ../servers/felix { }; 22679 22681 22680 22682 felix_remoteshell = callPackage ../servers/felix/remoteshell.nix { };