anchor.diff:      runHook preInstall
   
       mkdir -p $out/bin
  -    rm -r jre_linux # remove jre7
  +    rm -r jre_linux # remove bundled jre7
       rm starfarer.api.zip
       cp -r ./* $out
   
  
positive.code:     license = licenses.unfree;
      maintainers = with maintainers; [ bbigras ];
    };
  }
  
negative.code: { lib
  , fetchzip
  , libXxf86vm
  , makeWrapper
  , openal
  , openjdk
  , stdenv
  , xorg
  , copyDesktopItems
  , makeDesktopItem
  , writeScript
  }:
  
  stdenv.mkDerivation rec {
    pname = "starsector";
    version = "0.95.1a-RC6";
  
    src = fetchzip {
      url = "https://s3.amazonaws.com/fractalsoftworks/starsector/starsector_linux-${version}.zip";
      sha256 = "sha256-+0zGJHM+SMonx3sytCQNQA/QBgzdPMEfQvOjrCDSOs8=";
    };
  
    nativeBuildInputs = [ copyDesktopItems makeWrapper ];
    buildInputs = [ xorg.libXxf86vm openal ];
  
    dontBuild = true;
  
  