mirror of
https://codeberg.org/spire/nix.git
synced 2026-08-02 12:25:00 +02:00
package sourcemod-plugin-socket
This commit is contained in:
parent
d69cb8e69a
commit
de9cab41d4
3 changed files with 29 additions and 0 deletions
|
|
@ -58,6 +58,7 @@
|
|||
"sourcemod-plugin-steamworks"
|
||||
"sourcemod-plugin-soap-tf2dm"
|
||||
"sourcemod-plugin-progressive-ruleset-timer"
|
||||
"sourcemod-plugin-socket"
|
||||
]
|
||||
// {
|
||||
test = pkgs:
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@ final: prev: {
|
|||
sourcemod-plugin-steamworks = final.callPackage ./steamworks.nix {};
|
||||
sourcemod-plugin-soap-tf2dm = final.callPackage ./soap-tf2dm.nix {};
|
||||
sourcemod-plugin-progressive-ruleset-timer = final.callPackage ./progressive-ruleset-timer.nix {};
|
||||
sourcemod-plugin-socket = final.callPackage ./socket.nix {};
|
||||
}
|
||||
|
|
|
|||
27
nix/sourcemod/plugins/socket.nix
Normal file
27
nix/sourcemod/plugins/socket.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
fetchzip,
|
||||
stdenvNoCC,
|
||||
writeScript,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "sourcemod-plugin-socket";
|
||||
version = "3.0.1";
|
||||
src = fetchzip {
|
||||
url = "https://codeberg.org/spire/docker-comp-server/raw/branch/master/socket_${finalAttrs.version}.zip";
|
||||
sha256 = "sha256-EDCEyzSynz8Uotgx6xVmEiGgXf1FBtOzW1YNfsOad+U=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
mv addons $out/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-null" "";
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue