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