add steamworks include

This commit is contained in:
Robin Appelman 2024-03-23 19:41:34 +01:00
commit 6007526a96
3 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "sourcemod-include-steamworks";
version = "1.2.3c";
src = fetchFromGitHub {
owner = "JoinedSenses";
repo = "SourceMod-IncludeLibrary";
rev = "9d4e4263b77aa0c4fcdadd498c1420c64b3c1c10";
hash = "sha256-kO3iRHr3D0qLmgMh4SD3yz14bxSUD0r9pi6dHj8dnN0=";
};
doConfigure = false;
doBuild = false;
installPhase = ''
mkdir -p $out/include
cp -r include/steamworks.inc $out/include
'';
}