10 version = "unstable-2020-01-04";
13 url = "https://web.archive.org/web/20200104042737id_/http://www.lonesock.net/files/soil.zip";
14 sha256 = "1c05nwbnfdgwaz8ywn7kg2xrcvrcbpdyhcfkkiiwk69zvil0pbgd";
17 buildInputs = if stdenv.hostPlatform.isDarwin then [
26 $CC $NIX_CFLAGS_COMPILE -c *.c
30 mkdir -p $out/lib $out/include/SOIL
31 cp libSOIL.a $out/lib/
32 cp SOIL.h $out/include/SOIL/
36 description = "Simple OpenGL Image Library";
38 SOIL is a tiny C library used primarily for uploading textures
41 homepage = "https://www.lonesock.net/soil.html";
42 license = licenses.publicDomain;
43 platforms = platforms.unix;
44 maintainers = with maintainers; [ r-burns ];