mirror of
https://codeberg.org/spire/nix.git
synced 2026-08-02 04:14:47 +02:00
package sourcemod-plugin-demostf
This commit is contained in:
parent
a5e2b0ec6f
commit
cce55d7140
3 changed files with 32 additions and 0 deletions
|
|
@ -72,6 +72,7 @@
|
|||
"sourcemod-plugin-banned"
|
||||
"sourcemod-plugin-who"
|
||||
"sourcemod-plugin-afk"
|
||||
"sourcemod-plugin-demostf"
|
||||
]
|
||||
// {
|
||||
test = pkgs:
|
||||
|
|
@ -82,6 +83,7 @@
|
|||
sourcemod = true;
|
||||
plugins = with pkgs; [
|
||||
sourcemod-plugin-soap-tf2dm
|
||||
sourcemod-plugin-demostf
|
||||
srctvplus
|
||||
];
|
||||
};
|
||||
|
|
|
|||
29
nix/sourcemod/plugins/demostf.nix
Normal file
29
nix/sourcemod/plugins/demostf.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
fetchFromGitea,
|
||||
mkSourcemodPlugin,
|
||||
nix-update-script,
|
||||
sourcemod-addon-curl,
|
||||
}:
|
||||
mkSourcemodPlugin (finalAttrs: {
|
||||
pname = "sourcemod-plugin-demostf";
|
||||
version = "1.18.1";
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "demostf";
|
||||
repo = "plugin";
|
||||
rev = "467a8858e642729c2bdbc769a28c7d450a2c1123";
|
||||
hash = "sha256-FvT3GzPT/htNDfnU8UC+Y51EawEhPsSj6M0ObyelH4o=";
|
||||
};
|
||||
|
||||
plugins = ["demostf.sp"];
|
||||
runtimeInputs = [sourcemod-addon-curl];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--flake"
|
||||
"--version=branch"
|
||||
];
|
||||
};
|
||||
};
|
||||
})
|
||||
|
|
@ -15,4 +15,5 @@ final: prev: {
|
|||
sourcemod-plugin-banned = final.callPackage ./banned.nix {};
|
||||
sourcemod-plugin-who = final.callPackage ./who.nix {};
|
||||
sourcemod-plugin-afk = final.callPackage ./afk.nix {};
|
||||
sourcemod-plugin-demostf = final.callPackage ./demostf.nix {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue