blob: 169f6d01e9427a115312dcf5d171e9bf835405db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ buildSMPlugin, fetchFromGitHub, runCommand }:
let
src' = fetchFromGitHub {
owner = "KyleSanderson";
repo = "SteamWorks";
rev = "f0c1b62dff615511b27824aaa2815c7dc58d2716";
hash = "sha256-ugjaM04Jm1MKGmdtTAYVRD+ONOevc0PHAWqxBFSeu4o=";
};
in
buildSMPlugin rec {
pname = "SteamWorks";
version = "2023-04-02";
src = runCommand "source" {} ''
odir=$out/scripting/
mkdir -p $odir
cp -r ${src'}/Pawn/includes $odir/include
'';
}
|