12 stdenv.mkDerivation (finalAttrs: {
16 src = fetchFromGitHub {
19 rev = "refs/tags/${finalAttrs.version}";
20 fetchSubmodules = true;
21 hash = "sha256-bOUgRa9zWufTFEj5huXAKeRerV8PqfqQVDoVUvRrj2I=";
38 enableParallelBuilding = true;
43 install -Dm755 sw -t $out/bin
49 description = "Modern port the original Shadow Warrior";
50 homepage = "http://www.jonof.id.au/jfsw/";
51 license = lib.licenses.gpl2Plus;
53 maintainers = with lib.maintainers; [ moody ];
54 broken = stdenv.hostPlatform.isDarwin;
55 inherit (SDL2.meta) platforms;