Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / ga / garnet / package.nix
blob45d46d5bebaafe7bfcefb62b47b9a06c356c22d1
2   lib,
3   buildDotnetModule,
4   fetchFromGitHub,
5   dotnetCorePackages,
6   nix-update-script,
7 }:
8 buildDotnetModule rec {
9   pname = "garnet";
10   version = "1.0.15";
12   src = fetchFromGitHub {
13     owner = "microsoft";
14     repo = "garnet";
15     rev = "v${version}";
16     hash = "sha256-SpkhOztUh28N853+6BBQnVRBgphxJARLJXQzmXJwPyY=";
17   };
19   projectFile = "main/GarnetServer/GarnetServer.csproj";
20   nugetDeps = ./deps.nix;
22   dotnet-sdk = with dotnetCorePackages; combinePackages [ sdk_6_0 sdk_8_0 ];
23   dotnet-runtime = dotnetCorePackages.runtime_8_0;
25   dotnetBuildFlags = [
26     "-f"
27     "net8.0"
28   ];
29   dotnetInstallFlags = dotnetBuildFlags;
31   passthru = {
32     updateScript = nix-update-script { };
33   };
35   meta = {
36     description = "Remote cache-store from Microsoft Research";
37     longDescription = ''
38       A remote cache-store that offers strong performance, scalability,
39       storage, recovery, cluster sharding, key migration, replication features,
40       and compatibility with existing Redis clients
41     '';
42     homepage = "https://microsoft.github.io/garnet/";
43     changelog = "https://github.com/microsoft/garnet/releases/tag/v${version}";
44     license = lib.licenses.mit;
45     maintainers = with lib.maintainers; [ getchoo ];
46     mainProgram = "GarnetServer";
47   };