mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildDotnetModule,
|
|
fetchFromGitHub,
|
|
garnet,
|
|
dotnetCorePackages,
|
|
}:
|
|
buildDotnetModule {
|
|
pname = "garnet";
|
|
version = "1.0.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "microsoft";
|
|
repo = "garnet";
|
|
rev = "v${garnet.version}";
|
|
hash = "sha256-GBXRRLP4bBvKHr7tqvrOFFkTpUiiSYxj3DBrrehIl84=";
|
|
};
|
|
|
|
projectFile = "main/GarnetServer/GarnetServer.csproj";
|
|
nugetDeps = ./deps.nix;
|
|
|
|
dotnet-sdk = with dotnetCorePackages; combinePackages [ sdk_6_0 sdk_7_0 sdk_8_0 ];
|
|
dotnet-runtime = dotnetCorePackages.runtime_8_0;
|
|
|
|
dotnetInstallFlags = ["-f" "net8.0"];
|
|
|
|
meta = with lib; {
|
|
mainProgram = "GarnetServer";
|
|
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${garnet.version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [getchoo];
|
|
};
|
|
}
|