ferretdb: init at 0.5.2 (#188584)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Mostly Void 2022-09-04 19:23:06 +05:30 committed by GitHub
parent c209faac4d
commit 5518e6aba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ferretdb";
version = "0.5.2";
src = fetchFromGitHub {
owner = "FerretDB";
repo = "FerretDB";
rev = "v${version}";
sha256 = "sha256-WSdscZ1/Dix83RE95Iv61rdaSBWx1GMi6qOIPNus+ZI=";
};
postPatch = ''
echo ${version} > internal/util/version/gen/version.txt
'';
vendorSha256 = "sha256-fGmGE08w9w2QnBVdMZ2IKo8Zq3euJGCBVTTHNKYFY3U=";
CGO_ENABLED = 0;
subPackages = [ "cmd/ferretdb" ];
meta = with lib; {
description = "A truly Open Source MongoDB alternative";
homepage = "https://github.com/FerretDB/FerretDB";
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya ];
};
}

View File

@ -22675,6 +22675,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
ferretdb = callPackage ../servers/nosql/ferretdb { };
felix = callPackage ../servers/felix { };
felix_remoteshell = callPackage ../servers/felix/remoteshell.nix { };