diff options
Diffstat (limited to 'pkgs/by-name/ga/garnet/package.nix')
-rw-r--r-- | pkgs/by-name/ga/garnet/package.nix | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/pkgs/by-name/ga/garnet/package.nix b/pkgs/by-name/ga/garnet/package.nix index f12a0bc862615..4e038635492cb 100644 --- a/pkgs/by-name/ga/garnet/package.nix +++ b/pkgs/by-name/ga/garnet/package.nix @@ -2,30 +2,37 @@ lib, buildDotnetModule, fetchFromGitHub, - garnet, dotnetCorePackages, + nix-update-script, }: -buildDotnetModule { +buildDotnetModule rec { pname = "garnet"; - version = "1.0.6"; + version = "1.0.16"; src = fetchFromGitHub { owner = "microsoft"; repo = "garnet"; - rev = "v${garnet.version}"; - hash = "sha256-GBXRRLP4bBvKHr7tqvrOFFkTpUiiSYxj3DBrrehIl84="; + rev = "v${version}"; + hash = "sha256-0c6iJMSB9ThJVookibZL5CoAhrVMtY6oHYn92nN0114="; }; projectFile = "main/GarnetServer/GarnetServer.csproj"; nugetDeps = ./deps.nix; - dotnet-sdk = with dotnetCorePackages; combinePackages [ sdk_6_0 sdk_7_0 sdk_8_0 ]; + dotnet-sdk = with dotnetCorePackages; combinePackages [ sdk_6_0 sdk_8_0 ]; dotnet-runtime = dotnetCorePackages.runtime_8_0; - dotnetInstallFlags = ["-f" "net8.0"]; + dotnetBuildFlags = [ + "-f" + "net8.0" + ]; + dotnetInstallFlags = dotnetBuildFlags; - meta = with lib; { - mainProgram = "GarnetServer"; + passthru = { + updateScript = nix-update-script { }; + }; + + meta = { description = "Remote cache-store from Microsoft Research"; longDescription = '' A remote cache-store that offers strong performance, scalability, @@ -33,8 +40,9 @@ buildDotnetModule { and compatibility with existing Redis clients ''; homepage = "https://microsoft.github.io/garnet/"; - changelog = "https://github.com/microsoft/garnet/releases/tag/v${garnet.version}"; - license = licenses.mit; - maintainers = with maintainers; [getchoo]; + changelog = "https://github.com/microsoft/garnet/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ getchoo ]; + mainProgram = "GarnetServer"; }; } |