2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2024-01-25 14:12:00 +00:00
|
|
|
, SDL2
|
2021-02-05 17:12:51 +00:00
|
|
|
, fetchFromGitHub
|
2024-01-25 14:12:00 +00:00
|
|
|
, sqlite
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2024-01-25 14:12:00 +00:00
|
|
|
, stdenv
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "stella";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "6.7.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stella-emu";
|
2024-01-25 14:12:00 +00:00
|
|
|
repo = "stella";
|
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-4z6rFF6XqfyS9zZ4ByvTZi7cSqxpF4EcLffPbId5ppg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
nativeBuildInputs = [
|
2024-01-25 14:12:00 +00:00
|
|
|
SDL2
|
2021-12-06 16:07:01 +00:00
|
|
|
pkg-config
|
|
|
|
];
|
2020-10-07 09:15:18 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
buildInputs = [
|
|
|
|
SDL2
|
2024-01-25 14:12:00 +00:00
|
|
|
sqlite
|
2021-12-06 16:07:01 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
meta = {
|
2021-02-05 17:12:51 +00:00
|
|
|
homepage = "https://stella-emu.github.io/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "An open-source Atari 2600 VCS emulator";
|
|
|
|
longDescription = ''
|
2021-02-05 17:12:51 +00:00
|
|
|
Stella is a multi-platform Atari 2600 VCS emulator released under the GNU
|
|
|
|
General Public License (GPL). Stella was originally developed for Linux by
|
|
|
|
Bradford W. Mott, and is currently maintained by Stephen Anthony. Since
|
|
|
|
its original release several people have joined the development team to
|
|
|
|
port Stella to other operating systems such as AcornOS, AmigaOS, DOS,
|
|
|
|
FreeBSD, IRIX, Linux, OS/2, MacOS, Unix, and Windows. The development team
|
|
|
|
is working hard to perfect the emulator and we hope you enjoy our effort.
|
|
|
|
|
|
|
|
As of its 3.5 release, Stella is officially donationware.
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
2024-01-25 14:12:00 +00:00
|
|
|
changelog = "https://github.com/stella-emu/stella/releases/tag/${finalAttrs.src.rev}";
|
|
|
|
license = with lib.licenses; [ gpl2Plus ];
|
|
|
|
mainProgram = "stella";
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2024-01-25 14:12:00 +00:00
|
|
|
})
|