21 stdenv.mkDerivation rec {
25 src = fetchFromGitHub{
26 owner = "pioneerspacesim";
29 hash = "sha256-HNVg8Lq6k6gQDmgOdpnBwJ57WSEnn5XwtqzmkDU1WGI=";
33 substituteInPlace CMakeLists.txt \
34 --replace 'string(TIMESTAMP PROJECT_VERSION "%Y%m%d")' 'set(PROJECT_VERSION ${version})'
37 nativeBuildInputs = [ cmake pkg-config ];
55 "-DPIONEER_DATA_DIR:PATH=${placeholder "out"}/share/pioneer/data"
56 "-DUSE_SYSTEM_LIBLUA:BOOL=YES"
59 makeFlags = [ "all" "build-data" ];
62 description = "A space adventure game set in the Milky Way galaxy at the turn of the 31st century";
63 homepage = "https://pioneerspacesim.net";
64 license = with licenses; [
67 platforms = [ "x86_64-linux" "i686-linux" ];