1 { lib, stdenv, fetchFromGitLab, autoreconfHook, libsamplerate, SDL2, SDL2_mixer, readline }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitLab {
8 owner = "KilgoreTroutMaskReplicant";
11 sha256 = "sha256-+HwSykSyAGHtITVOu4nIG87kWwVxGyFXb/NRSjhWlvs=";
14 nativeBuildInputs = [ autoreconfHook ];
15 buildInputs = [ libsamplerate SDL2 SDL2_mixer readline ];
17 outputs = [ "out" "doc" ];
20 install -d $doc/share/doc/${pname}
21 install -t $doc/share/doc/${pname} \
22 HACKING NEWS PHILOSOPHY README doc/*.txt
26 homepage = "https://kilgoretroutmaskreplicant.gitlab.io/plain-html/";
27 description = "Master of Orion (1993) game engine recreation";
28 license = licenses.gpl2Only;
29 platforms = platforms.linux;
30 maintainers = [ maintainers.AndersonTorres ];