Merge pull request #237607 from raphaelr/init/cutecapture

cutecapture: init at 1.4.0
This commit is contained in:
Sandro 2023-06-28 19:53:52 +02:00 committed by GitHub
commit 773ac7c453
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, libusb1
, sfml
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cutecapture";
version = "1.4.0";
src = fetchFromGitHub {
owner = "Gotos";
repo = "cutecapture";
rev = "v${finalAttrs.version}";
hash = "sha256-V8BlZykh9zOTcEypu96Ft9/6CtjsybtD8lBsg9sF5sQ=";
};
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
libusb1
sfml
];
postPatch = ''
cat > get_version.sh <<EOF
#!${stdenv.shell}
echo ${lib.escapeShellArg finalAttrs.version}
EOF
'';
postInstall = ''
install -Dm644 -t $out/lib/udev/rules.d 95-{3,}dscapture.rules
'';
meta = with lib; {
description = "A (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 ];
};
})

View file

@ -29793,6 +29793,8 @@ with pkgs;
cheesecutter = callPackage ../applications/audio/cheesecutter { }; cheesecutter = callPackage ../applications/audio/cheesecutter { };
cutecapture = callPackage ../applications/video/cutecapture { };
milkytracker = callPackage ../applications/audio/milkytracker { }; milkytracker = callPackage ../applications/audio/milkytracker { };
ptcollab = libsForQt5.callPackage ../applications/audio/ptcollab { }; ptcollab = libsForQt5.callPackage ../applications/audio/ptcollab { };