1{ lib
2, stdenv
3, fetchFromGitHub
4, pkg-config
5, SDL2
6}:
7
8stdenv.mkDerivation rec {
9 pname = "stella";
10 version = "6.7";
11
12 src = fetchFromGitHub {
13 owner = "stella-emu";
14 repo = pname;
15 rev = version;
16 hash = "sha256-E8vbBbsVMOSY3iSSE+UCwBwmfHU7Efmre1cYlexVZ+E=";
17 };
18
19 nativeBuildInputs = [
20 pkg-config
21 ];
22
23 buildInputs = [
24 SDL2
25 ];
26
27 meta = with lib;{
28 homepage = "https://stella-emu.github.io/";
29 description = "An open-source Atari 2600 VCS emulator";
30 longDescription = ''
31 Stella is a multi-platform Atari 2600 VCS emulator released under the GNU
32 General Public License (GPL). Stella was originally developed for Linux by
33 Bradford W. Mott, and is currently maintained by Stephen Anthony. Since
34 its original release several people have joined the development team to
35 port Stella to other operating systems such as AcornOS, AmigaOS, DOS,
36 FreeBSD, IRIX, Linux, OS/2, MacOS, Unix, and Windows. The development team
37 is working hard to perfect the emulator and we hope you enjoy our effort.
38
39 As of its 3.5 release, Stella is officially donationware.
40 '';
41 license = licenses.gpl2Plus;
42 maintainers = with maintainers; [ AndersonTorres ];
43 platforms = platforms.unix;
44 };
45}