forked from mirrors/nixpkgs
24 lines
705 B
Nix
24 lines
705 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
stdenv.mkDerivation rec {
|
|
name = "godot_headers";
|
|
version = "51bca3bf5d917341f3e15076c5a9191f8a5118ae";
|
|
src = fetchFromGitHub {
|
|
owner = "GodotNativeTools";
|
|
repo = "godot_headers";
|
|
rev = version;
|
|
sha256 = "0z562pqm8y8wldmfiya72cvwwpvcfznpl0wypagw50v0f41ilywh";
|
|
};
|
|
buildPhase = "true";
|
|
installPhase = ''
|
|
mkdir $out
|
|
cp -r . $out/include
|
|
'';
|
|
meta = {
|
|
homepage = "https://github.com/GodotNativeTools/godot_headers/";
|
|
description = "Headers for the Godot API supplied by the GDNative module";
|
|
license = stdenv.lib.licenses.mit;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.twey ];
|
|
};
|
|
}
|