2018-02-14 17:43:33 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "godot_headers";
|
2018-02-20 11:58:59 +00:00
|
|
|
version = "2018-02-09";
|
2018-02-14 17:43:33 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GodotNativeTools";
|
|
|
|
repo = "godot_headers";
|
2018-02-20 11:58:59 +00:00
|
|
|
rev = "51bca3bf5d917341f3e15076c5a9191f8a5118ae";
|
2018-02-14 17:43:33 +00:00
|
|
|
sha256 = "0z562pqm8y8wldmfiya72cvwwpvcfznpl0wypagw50v0f41ilywh";
|
|
|
|
};
|
|
|
|
buildPhase = "true";
|
2018-02-16 11:41:13 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir $out
|
|
|
|
cp -r . $out/include
|
|
|
|
'';
|
2018-02-14 17:43:33 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/GodotNativeTools/godot_headers/";
|
|
|
|
description = "Headers for the Godot API supplied by the GDNative module";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
2018-03-18 16:18:03 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2018-02-14 17:43:33 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.twey ];
|
|
|
|
};
|
|
|
|
}
|