# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DOTNET_PKG_COMPAT="9.0" NUGETS=" azure.core@1.44.1 azure.storage.blobs@12.24.0 azure.storage.common@12.23.0 benchmarkdotnet.annotations@0.14.0 benchmarkdotnet@0.14.0 commandlineparser@2.9.1 gee.external.capstone@2.3.0 humanizer.core@2.14.1 iced@1.17.0 json.more.net@2.0.2 jsonpath.net@1.1.6 keralua@1.4.1 microsoft.bcl.asyncinterfaces@1.1.0 microsoft.bcl.asyncinterfaces@6.0.0 microsoft.bcl.asyncinterfaces@8.0.0 microsoft.bcl.memory@9.0.0 microsoft.codeanalysis.analyzers@3.11.0 microsoft.codeanalysis.analyzers@3.3.3 microsoft.codeanalysis.common@4.1.0 microsoft.codeanalysis.common@4.13.0 microsoft.codeanalysis.csharp.workspaces@4.13.0 microsoft.codeanalysis.csharp@4.1.0 microsoft.codeanalysis.csharp@4.13.0 microsoft.codeanalysis.visualbasic.workspaces@4.13.0 microsoft.codeanalysis.visualbasic@4.13.0 microsoft.codeanalysis.workspaces.common@4.13.0 microsoft.codeanalysis@4.13.0 microsoft.codecoverage@17.13.0 microsoft.diagnostics.netcore.client@0.2.251802 microsoft.diagnostics.runtime@2.2.332302 microsoft.diagnostics.tracing.traceevent@3.1.8 microsoft.dotnet.platformabstractions@3.1.6 microsoft.extensions.configuration.abstractions@9.0.3 microsoft.extensions.configuration.binder@9.0.3 microsoft.extensions.configuration.commandline@9.0.3 microsoft.extensions.configuration.environmentvariables@9.0.3 microsoft.extensions.configuration.fileextensions@9.0.3 microsoft.extensions.configuration.json@9.0.3 microsoft.extensions.configuration.usersecrets@9.0.3 microsoft.extensions.configuration@9.0.3 microsoft.extensions.dependencyinjection.abstractions@9.0.3 microsoft.extensions.dependencyinjection@9.0.3 microsoft.extensions.diagnostics.abstractions@9.0.3 microsoft.extensions.diagnostics@9.0.3 microsoft.extensions.fileproviders.abstractions@9.0.3 microsoft.extensions.fileproviders.physical@9.0.3 microsoft.extensions.filesystemglobbing@9.0.3 microsoft.extensions.hosting.abstractions@9.0.3 microsoft.extensions.hosting.windowsservices@9.0.3 microsoft.extensions.hosting@9.0.3 microsoft.extensions.logging.abstractions@6.0.0 microsoft.extensions.logging.abstractions@8.0.0 microsoft.extensions.logging.abstractions@8.0.2 microsoft.extensions.logging.abstractions@9.0.3 microsoft.extensions.logging.configuration@9.0.3 microsoft.extensions.logging.console@9.0.3 microsoft.extensions.logging.debug@9.0.3 microsoft.extensions.logging.eventlog@9.0.3 microsoft.extensions.logging.eventsource@9.0.3 microsoft.extensions.logging@2.1.1 microsoft.extensions.logging@9.0.3 microsoft.extensions.options.configurationextensions@9.0.3 microsoft.extensions.options@9.0.3 microsoft.extensions.primitives@9.0.3 microsoft.identitymodel.abstractions@8.6.1 microsoft.identitymodel.jsonwebtokens@8.6.1 microsoft.identitymodel.logging@8.6.1 microsoft.identitymodel.protocols.openidconnect@8.6.1 microsoft.identitymodel.protocols@8.6.1 microsoft.identitymodel.tokens@8.6.1 microsoft.identitymodel.validators@8.6.1 microsoft.net.test.sdk@17.13.0 microsoft.netcore.platforms@2.0.0 microsoft.netcore.platforms@2.1.2 microsoft.netcore.platforms@5.0.0 microsoft.testplatform.objectmodel@17.13.0 microsoft.testplatform.testhost@17.13.0 microsoft.win32.registry@4.4.0 microsoft.win32.registry@5.0.0 newtonsoft.json@13.0.1 nunit3testadapter@4.6.0 nunit@4.1.0 perfolizer@0.3.17 pipelines.sockets.unofficial@2.2.8 stackexchange.redis@2.8.16 system.buffers@4.5.1 system.clientmodel@1.1.0 system.codedom@5.0.0 system.collections.immutable@5.0.0 system.collections.immutable@8.0.0 system.composition.attributedmodel@8.0.0 system.composition.convention@8.0.0 system.composition.hosting@8.0.0 system.composition.runtime@8.0.0 system.composition.typedparts@8.0.0 system.composition@8.0.0 system.diagnostics.diagnosticsource@6.0.1 system.diagnostics.diagnosticsource@9.0.3 system.diagnostics.eventlog@9.0.3 system.identitymodel.tokens.jwt@8.6.1 system.interactive.async@6.0.1 system.io.hashing@6.0.0 system.io.pipelines@5.0.1 system.io.pipelines@8.0.0 system.io.pipelines@9.0.3 system.linq.async@6.0.1 system.management@5.0.0 system.memory.data@1.0.2 system.memory.data@6.0.0 system.memory@4.5.4 system.memory@4.5.5 system.numerics.vectors@4.5.0 system.reflection.metadata@1.6.0 system.reflection.metadata@5.0.0 system.reflection.metadata@8.0.0 system.runtime.compilerservices.unsafe@4.5.2 system.runtime.compilerservices.unsafe@5.0.0 system.runtime.compilerservices.unsafe@6.0.0 system.security.accesscontrol@4.4.0 system.security.accesscontrol@5.0.0 system.security.principal.windows@4.4.0 system.security.principal.windows@5.0.0 system.serviceprocess.servicecontroller@9.0.3 system.text.encoding.codepages@4.5.1 system.text.encoding.codepages@7.0.0 system.text.encodings.web@6.0.0 system.text.encodings.web@9.0.3 system.text.json@6.0.0 system.text.json@6.0.10 system.text.json@6.0.9 system.text.json@9.0.3 system.threading.channels@7.0.0 system.threading.tasks.extensions@4.5.4 " inherit dotnet-pkg DESCRIPTION="Remote cache-store from Microsoft Research, compatible with Redis clients" HOMEPAGE="https://microsoft.github.io/garnet/" SRC_URI="https://github.com/microsoft/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI+=" ${NUGET_URIS} " LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" DOTNET_PKG_PROJECTS=( main/GarnetServer/GarnetServer.csproj ) pkg_setup() { dotnet-pkg_pkg_setup } src_unpack() { dotnet-pkg_src_unpack } src_install() { dotnet-pkg-base_install dotnet-pkg-base_dolauncher "/usr/share/${P}/GarnetServer" "${PN}" }