Merge pull request 'add bsnes plus' (#293) from add-bsnes-plus into main
Some checks reported errors
Hydra bsnes-plus Hydra build #61820 of nix-packages:aarch64-linux-master:bsnes-plus
Hydra kubo Hydra build #60315 of nix-packages:riscv64-linux-master:kubo
Hydra emoji-volpeon-bunhd-flip Hydra build #60314 of nix-packages:riscv64-linux-master:emoji-volpeon-bunhd-flip
Hydra wordpress-plugins.modern-images-wp Hydra build #60318 of nix-packages:riscv64-linux-master:wordpress-plugins.modern-images-wp
Hydra wordpress-plugins.classic-editor Hydra build #60319 of nix-packages:riscv64-linux-master:wordpress-plugins.classic-editor
Hydra wordpress-plugins.google-sitemap-generator Hydra build #60320 of nix-packages:riscv64-linux-master:wordpress-plugins.google-sitemap-generator
Hydra kreative-square Hydra build #60322 of nix-packages:riscv64-linux-master:kreative-square
Hydra wordpress-plugins.jetpack Hydra build #60324 of nix-packages:riscv64-linux-master:wordpress-plugins.jetpack
Hydra wordpress-plugins.syndication-links Hydra build #60325 of nix-packages:riscv64-linux-master:wordpress-plugins.syndication-links
Hydra python-plover-stroke Hydra build #60352 of nix-packages:riscv64-linux-master:python-plover-stroke
Hydra python-rtf-tokenize Hydra build #60387 of nix-packages:riscv64-linux-master:python-rtf-tokenize
Hydra wordpress-themes.sempress Hydra build #60328 of nix-packages:riscv64-linux-master:wordpress-themes.sempress
Hydra fairfax Hydra build #60330 of nix-packages:riscv64-linux-master:fairfax
Hydra miifox-net Hydra build #60332 of nix-packages:riscv64-linux-master:miifox-net
Hydra emoji-volpeon-vlpn Hydra build #60333 of nix-packages:riscv64-linux-master:emoji-volpeon-vlpn
Hydra nasin-nanpa Hydra build #60335 of nix-packages:riscv64-linux-master:nasin-nanpa
Hydra wordpress-plugins.micropub Hydra build #60337 of nix-packages:riscv64-linux-master:wordpress-plugins.micropub
Hydra wordpress-plugins.indieweb Hydra build #60340 of nix-packages:riscv64-linux-master:wordpress-plugins.indieweb
Hydra fairfax-hd Hydra build #60342 of nix-packages:riscv64-linux-master:fairfax-hd
Hydra emoji-volpeon-blobfox-flip Hydra build #60345 of nix-packages:riscv64-linux-master:emoji-volpeon-blobfox-flip
Hydra python-simplefuzzyset Hydra build #60360 of nix-packages:riscv64-linux-master:python-simplefuzzyset
Hydra wordpress-plugins.activitypub Hydra build #60350 of nix-packages:riscv64-linux-master:wordpress-plugins.activitypub
Hydra wordpress-plugins.nodeinfo Hydra build #60351 of nix-packages:riscv64-linux-master:wordpress-plugins.nodeinfo
Hydra emoji-volpeon-fox Hydra build #60344 of nix-packages:riscv64-linux-master:emoji-volpeon-fox
Hydra wordpress-plugins.wp-super-cache Hydra build #60354 of nix-packages:riscv64-linux-master:wordpress-plugins.wp-super-cache
Hydra wordpress-plugins.webp-express Hydra build #60357 of nix-packages:riscv64-linux-master:wordpress-plugins.webp-express
Hydra emoji-caro Hydra build #60321 of nix-packages:riscv64-linux-master:emoji-caro
Hydra emoji-volpeon-gphn Hydra build #60353 of nix-packages:riscv64-linux-master:emoji-volpeon-gphn
Hydra packages.element-web.riscv64-linux Hydra build #61167 of flakes:nix-packages:packages.element-web.riscv64-linux
Hydra packages.pleroma-fe.riscv64-linux Hydra build #61189 of flakes:nix-packages:packages.pleroma-fe.riscv64-linux
Hydra woodpecker-server Hydra build #62738 of nix-packages:riscv64-linux-master:woodpecker-server
Hydra woodpecker-frontend Hydra build #62740 of nix-packages:riscv64-linux-master:woodpecker-frontend
Hydra packages.woodpecker-server.riscv64-linux Hydra build #62809 of flakes:nix-packages:packages.woodpecker-server.riscv64-linux
Hydra packages.woodpecker-frontend.riscv64-linux Hydra build #62831 of flakes:nix-packages:packages.woodpecker-frontend.riscv64-linux
Hydra wordpress-plugins.indieauth Hydra build #60362 of nix-packages:riscv64-linux-master:wordpress-plugins.indieauth
Hydra wordpress-plugins.indieweb-post-kinds Hydra build #60381 of nix-packages:riscv64-linux-master:wordpress-plugins.indieweb-post-kinds
Hydra wordpress-plugins.polylang Hydra build #60851 of nix-packages:riscv64-linux-master:wordpress-plugins.polylang
Hydra wordpress-plugins.the-plus-addons-for-block-editor Hydra build #60849 of nix-packages:riscv64-linux-master:wordpress-plugins.the-plus-addons-for-block-editor
Hydra emoji-volpeon-blobfox Hydra build #60385 of nix-packages:riscv64-linux-master:emoji-volpeon-blobfox
Hydra emoji-volpeon-raccoon Hydra build #60371 of nix-packages:riscv64-linux-master:emoji-volpeon-raccoon
Hydra wordpress-plugins.friends Hydra build #60361 of nix-packages:riscv64-linux-master:wordpress-plugins.friends
Hydra matrix-media-repo Hydra build #60363 of nix-packages:riscv64-linux-master:matrix-media-repo
Hydra wordpress-plugins.webmention Hydra build #60364 of nix-packages:riscv64-linux-master:wordpress-plugins.webmention
Hydra wordpress-plugins.hum Hydra build #60365 of nix-packages:riscv64-linux-master:wordpress-plugins.hum
Hydra wordpress-plugins.webfinger Hydra build #60366 of nix-packages:riscv64-linux-master:wordpress-plugins.webfinger
Hydra wordpress-plugins.pubsubhubbub Hydra build #60368 of nix-packages:riscv64-linux-master:wordpress-plugins.pubsubhubbub
Hydra constructium Hydra build #60370 of nix-packages:riscv64-linux-master:constructium
Hydra wordpress-themes.twentytwentythree Hydra build #60373 of nix-packages:riscv64-linux-master:wordpress-themes.twentytwentythree
Hydra emoji-volpeon-bunhd Hydra build #60379 of nix-packages:riscv64-linux-master:emoji-volpeon-bunhd
Hydra alco-sans Hydra build #60384 of nix-packages:riscv64-linux-master:alco-sans
Hydra mautrix-discord Hydra build #60848 of nix-packages:riscv64-linux-master:mautrix-discord
Hydra emoji-volpeon-drgn Hydra build #60358 of nix-packages:riscv64-linux-master:emoji-volpeon-drgn
Hydra emoji-volpeon-neofox Hydra build #60383 of nix-packages:riscv64-linux-master:emoji-volpeon-neofox
Hydra emoji-lotte Hydra build #60359 of nix-packages:riscv64-linux-master:emoji-lotte
Hydra mautrix-whatsapp Hydra build #60852 of nix-packages:riscv64-linux-master:mautrix-whatsapp
Hydra asar Hydra build #61549 of nix-packages:riscv64-linux-master:asar
Hydra woodpecker-cli Hydra build #60850 of nix-packages:riscv64-linux-master:woodpecker-cli
Hydra woodpecker-agent Hydra build #60855 of nix-packages:riscv64-linux-master:woodpecker-agent
Hydra element-web Hydra build #60343 of nix-packages:riscv64-linux-master:element-web
Hydra admin-fe Hydra build #60323 of nix-packages:riscv64-linux-master:admin-fe
Hydra pleroma-fe Hydra build #60349 of nix-packages:riscv64-linux-master:pleroma-fe

Reviewed-on: #293
This commit is contained in:
Charlotte 🦝 Delenk 2023-07-19 14:53:49 +00:00
commit e4dc0847c2
Signed by: gitea-bot
GPG key ID: C9974EDF9932B558
5 changed files with 45 additions and 0 deletions

View file

@ -76,6 +76,7 @@ in
plover-plugin-python-dictionary
plover-plugin-stenotype-extended
asar
bsnes-plus
;
}
// (

View file

@ -0,0 +1,31 @@
{
fetchFromGitHub,
stdenv,
qtbase,
wrapQtAppsHook,
pkg-config,
SDL,
libXv,
libao,
openal,
}: let
source = builtins.fromJSON (builtins.readFile ./source.json);
in
stdenv.mkDerivation {
pname = "bsnes-plus";
version = source.date;
src = fetchFromGitHub {
owner = "devinacker";
repo = "bsnes-plus";
inherit (source) rev sha256;
};
makeFlags = ["-C" "bsnes" "out=bsnes"];
buildInputs = [qtbase SDL libXv libao openal];
nativeBuildInputs = [wrapQtAppsHook pkg-config];
passthru.updateScript = [../../scripts/update-git.sh "https://github.com/devinacker/bsnes-plus" "emulator/bsnes-plus/source.json"];
preInstall = ''
export HOME=$(mktemp -d)
export prefix=$out
'';
enableParallelBuilding = true;
}

View file

@ -0,0 +1,11 @@
{
"url": "https://github.com/devinacker/bsnes-plus",
"rev": "14e00375ba15cd605bf716117cd66ddaf5d93914",
"date": "2023-06-05T20:56:09-04:00",
"path": "/nix/store/pn7q6xy2hpd57s2a29j4zp3lk06sf462-bsnes-plus",
"sha256": "0g7djccmshidqjcpgm0w8mvi4wy1w2v3zfvl1sv5caarch6kdswv",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

View file

@ -120,6 +120,7 @@
plover-plugin-python-dictionary
plover-plugin-stenotype-extended
asar
bsnes-plus
;
}
// (

View file

@ -128,6 +128,7 @@ system: self: super: let
linux-bcachefs = self.callPackage ./linux/bcachefs {kernelPatches = [];};
bcachefs-tools = self.callPackage ./linux/bcachefs-tools {};
asar = self.callPackage ./compiler/asar {};
bsnes-plus = self.libsForQt5.callPackage ./emulator/bsnes-plus {};
})
riscv-overlay
];