mirror of
https://codeberg.org/spire/nix.git
synced 2026-11-30 11:30:45 +01:00
package sourcemod-plugin-steamworks
This commit is contained in:
parent
c4ec2fbf82
commit
63a39678c2
4 changed files with 28 additions and 1 deletions
3
nix/sourcemod/plugins/overlay.nix
Normal file
3
nix/sourcemod/plugins/overlay.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
final: prev: {
|
||||
sourcemod-plugin-steamworks = final.callPackage ./steamworks.nix {};
|
||||
}
|
||||
21
nix/sourcemod/plugins/steamworks.nix
Normal file
21
nix/sourcemod/plugins/steamworks.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
fetchurl,
|
||||
stdenvNoCC,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "sourcemod-plugin-steamworks";
|
||||
version = "1.2.3c";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/KyleSanderson/SteamWorks/releases/download/${finalAttrs.version}/package-lin.tgz";
|
||||
sha256 = "sha256-Znnm39GdTHinHSJP8/fXLZvsvCVggu1LzoXLqh4BJxM=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
mv addons $out/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue