14 stdenv.mkDerivation rec {
15 pname = "endless-sky";
18 src = fetchFromGitHub {
19 owner = "endless-sky";
22 sha256 = "sha256-bqhltxkoqDdmddOBZ1f3I29AxGm5buUXpjjFwefemEM=";
30 # the trailing slash is important!!
31 # endless sky naively joins the paths with string concatenation
32 # so it's essential that there be a trailing slash on the resources path
33 substituteInPlace source/Files.cpp \
34 --replace '%NIXPKGS_RESOURCES_PATH%' "$out/share/games/endless-sky/"
38 export AR="${stdenv.cc.targetPrefix}gcc-ar"
41 enableParallelBuilding = true;
54 prefixKey = "PREFIX=";
57 description = "Sandbox-style space exploration game similar to Elite, Escape Velocity, or Star Control";
58 mainProgram = "endless-sky";
59 homepage = "https://endless-sky.github.io/";
60 license = with licenses; [
66 maintainers = with maintainers; [ _360ied ];
67 platforms = platforms.linux; # Maybe other non-darwin Unix