shotcut: 24.10.13 -> 24.11.17

This commit is contained in:
aucub 2024-12-03 21:44:26 +08:00
parent 655aa02cc9
commit 95ffb22b26

View File

@ -19,13 +19,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "shotcut";
version = "24.10.13";
version = "24.11.17";
src = fetchFromGitHub {
owner = "mltframework";
repo = "shotcut";
rev = "v${finalAttrs.version}";
hash = "sha256-lt8NXjh222h6l+zfGNKGntUNPya4TUjwqA74DDdWzQo=";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-sOBGLQYRGHcXNoKTmqbBqmheUFHe7p696BTCiwtF5JY=";
};
nativeBuildInputs = [
@ -49,6 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
env.NIX_CFLAGS_COMPILE = "-DSHOTCUT_NOUPGRADE";
cmakeFlags = [ "-DSHOTCUT_VERSION=${finalAttrs.version}" ];
patches = [
@ -74,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = with lib; {
meta = {
description = "Free, open source, cross-platform video editor";
longDescription = ''
An official binary for Shotcut, which includes all the
@ -86,12 +87,12 @@ stdenv.mkDerivation (finalAttrs: {
please use the official build from shotcut.org instead.
'';
homepage = "https://shotcut.org";
license = licenses.gpl3Plus;
maintainers = with maintainers; [
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
woffs
peti
];
platforms = platforms.unix;
platforms = lib.platforms.unix;
mainProgram = "shotcut";
};
})