3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #177670 from jonnybolton/sokol

sokol: init at unstable-2022-06-13
This commit is contained in:
Anderson Torres 2022-06-17 13:32:39 -03:00 committed by GitHub
commit e1c8b9a431
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 0 deletions

View file

@ -6303,6 +6303,12 @@
githubId = 1843676; githubId = 1843676;
name = "Jonathan Reeve"; name = "Jonathan Reeve";
}; };
jonnybolton = {
email = "jonnybolton@gmail.com";
github = "jonnybolton";
githubId = 8580434;
name = "Jonny Bolton";
};
jonringer = { jonringer = {
email = "jonringer117@gmail.com"; email = "jonringer117@gmail.com";
matrix = "@jonringer:matrix.org"; matrix = "@jonringer:matrix.org";

View file

@ -0,0 +1,35 @@
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "sokol";
version = "unstable-2022-06-13";
src = fetchFromGitHub {
owner = "floooh";
repo = "sokol";
rev = "3c7016105f3b7463f0cfc74df8a55642e5448c11";
sha256 = "sha256-dKHb6GTp5aJPuWWXI4ZYnhgdXs23gGWyPymGPGwxcLY=";
};
dontBuild = true;
dontConfigure = true;
installPhase = ''
runHook preInstall
mkdir -p $out/include/sokol
cp *.h $out/include/sokol/
cp -R util $out/include/sokol/util
runHook postInstall
'';
meta = with lib; {
description = "Minimal cross-platform standalone C headers";
homepage = "https://github.com/floooh/sokol";
license = licenses.zlib;
platforms = platforms.all;
maintainers = with maintainers; [ jonnybolton ];
};
}

View file

@ -20757,6 +20757,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Carbon; inherit (darwin.apple_sdk.frameworks) Carbon;
}; };
sokol = callPackage ../development/libraries/sokol { };
sonic = callPackage ../development/libraries/sonic { }; sonic = callPackage ../development/libraries/sonic { };
sope = callPackage ../development/libraries/sope { }; sope = callPackage ../development/libraries/sope { };