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