cutecapture: cleanup, use sfml_2

This commit is contained in:
Gaetan Lepage
2025-03-07 23:58:28 +01:00
parent 81fd93bffe
commit 37ffb82b27

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
autoreconfHook,
libusb1,
sfml,
sfml_2,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -14,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "Gotos";
repo = "cutecapture";
rev = "v${finalAttrs.version}";
tag = "v${finalAttrs.version}";
hash = "sha256-V8BlZykh9zOTcEypu96Ft9/6CtjsybtD8lBsg9sF5sQ=";
};
@@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
libusb1
sfml
sfml_2
];
postPatch = ''
@@ -40,11 +40,11 @@ stdenv.mkDerivation (finalAttrs: {
install -Dm444 -t $out/share/icons/hicolor/128x128/apps Cute{3,}DSCapture.png
'';
meta = with lib; {
meta = {
description = "(3)DS capture software for Linux and Mac";
homepage = "https://github.com/Gotos/CuteCapture";
license = licenses.asl20;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ raphaelr ];
license = lib.licenses.asl20;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [ raphaelr ];
};
})