21 stdenv.mkDerivation (finalAttrs: {
25 src = fetchFromGitHub {
28 rev = finalAttrs.version;
29 hash = "sha256-r8Z0Ejf5vWcdvxkUkUKJtipQIRoiwoRj0Bx06Gnxd08=";
59 mkdir -p $out/{bin,share/nestopia}
63 for f in $out/bin/*; do
65 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share"
70 homepage = "http://0ldsk00l.ca/nestopia/";
71 description = "Cross-platform Nestopia emulator core with a GUI";
72 changelog = "https://raw.githubusercontent.com/0ldsk00l/nestopia/${finalAttrs.src.rev}/ChangeLog";
73 license = lib.licenses.gpl2Plus;
74 mainProgram = "nestopia";
75 maintainers = with lib.maintainers; [ AndersonTorres ];
76 platforms = lib.platforms.linux;