8 stdenv.mkDerivation (finalAttrs: {
12 src = fetchFromGitHub {
15 rev = "v${finalAttrs.version}";
16 hash = "sha256-vb9k+KjiGodVngza0R18LjfPTlsqFbzqXZqefm6KHj0=";
20 # remove warning about gcc < 10
21 substituteInPlace sse2neon.h --replace-fail "#warning \"GCC versions" "// "
24 nativeBuildInputs = [ pkg-config ];
27 # use postBuild instead of installPhase, because the build
28 # in itself doesn't produce any ($out) output
31 install -m444 sse2neon.h $out/lib/
35 description = "Mono library that provides a GDI+-compatible API on non-Windows operating systems";
36 homepage = "https://www.mono-project.com/docs/gui/libgdiplus/";
37 platforms = lib.platforms.unix;
38 license = lib.licenses.mit;
39 maintainers = [ lib.maintainers.gador ];