mirror of
https://codeberg.org/spire/nix.git
synced 2026-06-03 09:54:19 +02:00
add steamworks include
This commit is contained in:
parent
3ceff210d1
commit
6007526a96
3 changed files with 26 additions and 0 deletions
23
pkgs/includes/steamworks.nix
Normal file
23
pkgs/includes/steamworks.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue