mirror of
https://codeberg.org/spire/nix.git
synced 2026-08-02 12:25:00 +02:00
package sourcemod-plugin-progressive-ruleset-timer
This commit is contained in:
parent
efc66e4155
commit
d69cb8e69a
3 changed files with 36 additions and 0 deletions
|
|
@ -57,6 +57,7 @@
|
||||||
"srcds-tf2"
|
"srcds-tf2"
|
||||||
"sourcemod-plugin-steamworks"
|
"sourcemod-plugin-steamworks"
|
||||||
"sourcemod-plugin-soap-tf2dm"
|
"sourcemod-plugin-soap-tf2dm"
|
||||||
|
"sourcemod-plugin-progressive-ruleset-timer"
|
||||||
]
|
]
|
||||||
// {
|
// {
|
||||||
test = pkgs:
|
test = pkgs:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
final: prev: {
|
final: prev: {
|
||||||
sourcemod-plugin-steamworks = final.callPackage ./steamworks.nix {};
|
sourcemod-plugin-steamworks = final.callPackage ./steamworks.nix {};
|
||||||
sourcemod-plugin-soap-tf2dm = final.callPackage ./soap-tf2dm.nix {};
|
sourcemod-plugin-soap-tf2dm = final.callPackage ./soap-tf2dm.nix {};
|
||||||
|
sourcemod-plugin-progressive-ruleset-timer = final.callPackage ./progressive-ruleset-timer.nix {};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
34
nix/sourcemod/plugins/progressive-ruleset-timer.nix
Normal file
34
nix/sourcemod/plugins/progressive-ruleset-timer.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
{
|
||||||
|
fetchFromGitHub,
|
||||||
|
stdenvNoCC,
|
||||||
|
nix-update-script,
|
||||||
|
}:
|
||||||
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
pname = "sourcemod-plugin-progressive-ruleset-timer";
|
||||||
|
version = "0-unstable-2022-09-08";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "b4nnyBot";
|
||||||
|
repo = "Progressive-Ruleset-Timer-Plugins";
|
||||||
|
rev = "eb4e7907ac7f567773683c4f9c86ba20256f8c8f";
|
||||||
|
hash = "sha256-OHPMVDLZOVZpBv/b0N90xTOut3gBJUxr5f0T0PPqlIE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir $out
|
||||||
|
ls -l
|
||||||
|
mv addons cfg $out/
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script {
|
||||||
|
extraArgs = [
|
||||||
|
"--flake"
|
||||||
|
"--version=branch"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
})
|
||||||
Loading…
Add table
Add a link
Reference in a new issue