blob: da96b1357102f1d799302fd8062a486668959bdd (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
{
lib,
buildDotnetModule,
dotnetCorePackages,
fetchFromGitHub,
nix-update-script,
}:
buildDotnetModule rec {
pname = "garnet";
version = "1.0.63";
src = fetchFromGitHub {
owner = "microsoft";
repo = "garnet";
tag = "v${version}";
hash = "sha256-pOAeWQcZTkvnJGAP8H4dOABcHSEfGI4xTC/eS/3QoTM=";
};
projectFile = "main/GarnetServer/GarnetServer.csproj";
nugetDeps = ./deps.json;
dotnet-sdk =
with dotnetCorePackages;
sdk_9_0
// {
inherit
(combinePackages [
sdk_9_0
sdk_8_0
])
packages
targetPackages
;
};
dotnetBuildFlags = [
"-f"
"net9.0"
];
dotnetInstallFlags = dotnetBuildFlags;
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Remote cache-store from Microsoft Research";
longDescription = ''
A remote cache-store that offers strong performance, scalability,
storage, recovery, cluster sharding, key migration, replication features,
and compatibility with existing Redis clients
'';
homepage = "https://microsoft.github.io/garnet/";
changelog = "https://github.com/microsoft/garnet/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "GarnetServer";
};
}
|