13 version = "unstable-2020-08-09";
15 src = fetchFromGitHub {
18 rev = "506eb02f3de52d3d1f4d81ac9ee145655216dee5";
19 sha256 = "sha256-euxJw7CqOwi6Ndzalps37kDr5oOIL3tZICCfmxsujfk=";
23 substituteInPlace config.mk \
24 --replace "-lGLESv2" "-lGL -lGLESv2"
38 cp -a esshader $out/bin/
42 description = "Offline ShaderToy-compatible GLSL shader viewer using OpenGL ES 2.0";
43 homepage = "https://github.com/cmcsun/esshader";
44 license = licenses.mit;
45 maintainers = with maintainers; [ astro ];
46 platforms = lib.platforms.unix;
47 # never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
48 broken = stdenv.hostPlatform.isDarwin;
49 mainProgram = "esshader";