gnomeExtensions.pop-shell: 1.2.0-unstable-2024-10-09 -> 1.2.0-unstable-2024-12-31...
[NixPkgs.git] / pkgs / by-name / ga / garnet / package.nix
blobac5750b524c550bd0b9e3d07389b6b28d4c106c6
2   lib,
3   buildDotnetModule,
4   dotnetCorePackages,
5   fetchFromGitHub,
6   nix-update-script,
7 }:
9 buildDotnetModule rec {
10   pname = "garnet";
11   version = "1.0.53";
13   src = fetchFromGitHub {
14     owner = "microsoft";
15     repo = "garnet";
16     tag = "v${version}";
17     hash = "sha256-04USuwfoACJdEQ98DCzUKBVAyoGhTn1dHgVHw38xaWY=";
18   };
20   projectFile = "main/GarnetServer/GarnetServer.csproj";
21   nugetDeps = ./deps.json;
23   dotnet-sdk = dotnetCorePackages.sdk_8_0;
24   dotnet-runtime = dotnetCorePackages.runtime_8_0;
26   dotnetBuildFlags = [
27     "-f"
28     "net8.0"
29   ];
30   dotnetInstallFlags = dotnetBuildFlags;
32   passthru = {
33     updateScript = nix-update-script { };
34   };
36   meta = {
37     description = "Remote cache-store from Microsoft Research";
38     longDescription = ''
39       A remote cache-store that offers strong performance, scalability,
40       storage, recovery, cluster sharding, key migration, replication features,
41       and compatibility with existing Redis clients
42     '';
43     homepage = "https://microsoft.github.io/garnet/";
44     changelog = "https://github.com/microsoft/garnet/releases/tag/v${version}";
45     license = lib.licenses.mit;
46     maintainers = with lib.maintainers; [ getchoo ];
47     mainProgram = "GarnetServer";
48   };