8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 fetchSubmodules = true;
17 hash = "sha256-ieodMkzBDPq8WCTEyPMENFxoGwrknWV6qsVCZmi0TwQ=";
20 buildInputs = [ SDL2 ];
21 nativeBuildInputs = [ cmake ];
25 install -Dm755 libFNA3D.so $out/lib/libFNA3D.so
26 ln -s libFNA3D.so $out/lib/libFNA3D.so.0
27 ln -s libFNA3D.so $out/lib/libFNA3D.so.0.${version}
32 description = "Accuracy-focused XNA4 reimplementation for open platforms";
33 homepage = "https://fna-xna.github.io/";
34 license = lib.licenses.mspl;
35 platforms = lib.platforms.linux;
37 maintainers = with lib.maintainers; [ mrtnvgr ];