masterpdfeditor: 5.9.82 -> 5.9.86 (#382197)

This commit is contained in:
Sandro
2025-02-20 18:15:00 +01:00
committed by GitHub
+32 -18
View File
@@ -1,21 +1,32 @@
{ stdenv
, fetchurl
, sane-backends
, nss
, autoPatchelfHook
, lib
, libsForQt5
, pkcs11helper
{
stdenv,
fetchurl,
sane-backends,
nss,
autoPatchelfHook,
lib,
libsForQt5,
pkcs11helper,
}:
stdenv.mkDerivation rec {
pname = "masterpdfeditor";
version = "5.9.82";
version = "5.9.86";
src = fetchurl {
url = "https://code-industry.net/public/master-pdf-editor-${version}-qt5.x86_64.tar.gz";
hash = "sha256-CbrhhQJ0iiXz8hUJEi+/xb2ZGbunuPuIIgmCRgJhNVU=";
};
src =
let
selectSystem = attrs: attrs.${stdenv.hostPlatform.system};
in
fetchurl {
url = selectSystem {
x86_64-linux = "https://code-industry.net/public/master-pdf-editor-${version}-qt5.x86_64-qt_include.tar.gz";
aarch64-linux = "https://code-industry.net/public/master-pdf-editor-${version}-qt5.arm64.tar.gz";
};
hash = selectSystem {
x86_64-linux = "sha256-QBwcsEz13+EdgkKJRdmdsb6f3dt3N6WR/EEACdWbYNo=";
aarch64-linux = "sha256-OTn5Z82fRMLQwVSLwoGAaj9c9SfEicyl8e1A1ICOUf0=";
};
};
nativeBuildInputs = [
autoPatchelfHook
@@ -54,13 +65,16 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with lib; {
meta = {
description = "Master PDF Editor";
homepage = "https://code-industry.net/free-pdf-editor/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfreeRedistributable;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ cmcdragonkai ];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfreeRedistributable;
platforms = [
"x86_64-linux"
"aarch64-linux"
];
maintainers = with lib.maintainers; [ cmcdragonkai ];
mainProgram = "masterpdfeditor5";
};
}