Skip to content

Commit 473d3b7

Browse files
authored
juce: 8.0.4 -> 8.0.6 (#377915)
2 parents 2a512b6 + acbf220 commit 473d3b7

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

pkgs/development/misc/juce/default.nix

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,19 @@
2828
libXtst,
2929
sqlite,
3030
fontconfig,
31+
versionCheckHook,
32+
nix-update-script,
3133
}:
3234

3335
stdenv.mkDerivation (finalAttrs: {
3436
pname = "juce";
35-
version = "8.0.4";
37+
version = "8.0.6";
3638

3739
src = fetchFromGitHub {
3840
owner = "juce-framework";
3941
repo = "juce";
40-
rev = finalAttrs.version;
41-
hash = "sha256-iAueT+yHwUUHOzqfK5zXEZQ0GgOKJ9q9TyRrVfWdewc=";
42+
tag = finalAttrs.version;
43+
hash = "sha256-uwZVBrvb5O9LEh00y93UeEu4u4rd+tLRCdQdxsMpXNg=";
4244
};
4345

4446
patches = [
@@ -80,16 +82,27 @@ stdenv.mkDerivation (finalAttrs: {
8082

8183
propagatedBuildInputs = [ fontconfig ];
8284

83-
meta = with lib; {
85+
nativeInstallCheckInputs = [
86+
versionCheckHook
87+
];
88+
versionCheckProgram = "${placeholder "out"}/bin/juceaide";
89+
versionCheckProgramArg = [ "version" ];
90+
doInstallCheck = true;
91+
92+
passthru = {
93+
updateScript = nix-update-script { };
94+
};
95+
96+
meta = {
8497
description = "Cross-platform C++ application framework";
85-
mainProgram = "juceaide";
8698
longDescription = "Open-source cross-platform C++ application framework for creating desktop and mobile applications, including VST, VST3, AU, AUv3, AAX and LV2 audio plug-ins";
8799
homepage = "https://juce.com/";
88100
changelog = "https://github.com/juce-framework/JUCE/blob/${finalAttrs.version}/CHANGE_LIST.md";
89-
license = with licenses; [
101+
license = with lib.licenses; [
90102
agpl3Only # Or alternatively the JUCE license, but that would not be included in nixpkgs then
91103
];
92-
maintainers = with maintainers; [ kashw2 ];
93-
platforms = platforms.all;
104+
maintainers = with lib.maintainers; [ kashw2 ];
105+
platforms = lib.platforms.all;
106+
mainProgram = "juceaide";
94107
};
95108
})

0 commit comments

Comments
 (0)