blob: 2755fa549c54fdf2b50781fdd3b758c845ac013c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ lib, buildSMPlugin, fetchFromGitHub, runCommand }:
let
pname = "SteamTools";
src' = fetchFromGitHub {
# transitional syntax fork that's been sitting in PRs for 4 years ww
owner = "JoinedSenses";
repo = pname;
rev = "0ce8122e5d2a453c5b4b23fb2871bc24b35e27fe";
hash = "sha256-Vq60/GxwlyfYgQKjnMR8CaeyfMApJIvvZWD94o4LwYc=";
};
in
buildSMPlugin /* rec */ {
inherit pname;
version = "2020-05-01";
src = runCommand "source" {} ''
odir=$out/scripting/include
mkdir -p $odir
cp ${src'}/plugin/steamtools.inc $odir/
'';
}
|