mirror of
https://codeberg.org/spire/nix.git
synced 2026-08-02 04:14:47 +02:00
package sourcemod-plugin-tf2-comp-fixes
This commit is contained in:
parent
de9cab41d4
commit
e9fb4b77a4
3 changed files with 33 additions and 0 deletions
|
|
@ -59,6 +59,7 @@
|
|||
"sourcemod-plugin-soap-tf2dm"
|
||||
"sourcemod-plugin-progressive-ruleset-timer"
|
||||
"sourcemod-plugin-socket"
|
||||
"sourcemod-plugin-tf2-comp-fixes"
|
||||
]
|
||||
// {
|
||||
test = pkgs:
|
||||
|
|
|
|||
|
|
@ -3,4 +3,5 @@ final: prev: {
|
|||
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 {};
|
||||
sourcemod-plugin-tf2-comp-fixes = final.callPackage ./tf2-comp-fixes.nix {};
|
||||
}
|
||||
|
|
|
|||
31
nix/sourcemod/plugins/tf2-comp-fixes.nix
Normal file
31
nix/sourcemod/plugins/tf2-comp-fixes.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
fetchzip,
|
||||
stdenvNoCC,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "sourcemod-plugin-tf2-comp-fixes";
|
||||
version = "1.18.1";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/ldesgoui/tf2-comp-fixes/releases/download/v${finalAttrs.version}/tf2-comp-fixes.zip";
|
||||
sha256 = "sha256-m9dpVzn70cuxczgqiykdZmIrpdHF5Ckns2ipZYnwE+4=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
mv addons $out/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--flake"
|
||||
];
|
||||
};
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue