Loading pkgs/by-name/pa/paperlib/package.nix +10 −4 Original line number Diff line number Diff line Loading @@ -4,20 +4,25 @@ fetchurl, appimageTools, undmg, _7zz, }: let pname = "paperlib"; version = "3.1.6"; version = "3.1.10"; src = fetchurl { aarch64-darwin = { url = "https://github.com/Future-Scholars/paperlib/releases/download/release-electron-${version}/Paperlib_${version}_arm.dmg"; hash = "sha256-KNMPUeCNtODHzMJhCwI4SJPRfa87RmAe6CRRazgRZCQ="; }; x86_64-darwin = { url = "https://github.com/Future-Scholars/paperlib/releases/download/release-electron-${version}/Paperlib_${version}.dmg"; hash = "sha256-d9vEFx59K15PO7DJYJQ2fjiagqa8oJLtoawILDF9IKc="; hash = "sha256-5QwF0+7Y4LzReHCj8yZrAJDAZVyY0ANC5gjAxdaVRkU="; }; x86_64-linux = { url = "https://github.com/Future-Scholars/paperlib/releases/download/release-electron-${version}/Paperlib_${version}.AppImage"; hash = "sha256-2xbn9UWlcf37n9jZdZKyyevzsag6SW9YuQH/bYCRmLQ="; hash = "sha256-uBYhiUL4YWwnLLPvXMoXjlQqlqFep/OpwwnmPx7s5dY="; }; } .${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); Loading @@ -32,6 +37,7 @@ let license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ ByteSudoer ]; platforms = [ "aarch64-darwin" "x86_64-darwin" "x86_64-linux" ]; Loading @@ -51,7 +57,7 @@ if stdenv.hostPlatform.isDarwin then sourceRoot = "."; nativeBuildInputs = [ undmg ]; nativeBuildInputs = if stdenv.hostPlatform.isAarch64 then [ _7zz ] else [ undmg ]; installPhase = '' runHook preInstall Loading Loading
pkgs/by-name/pa/paperlib/package.nix +10 −4 Original line number Diff line number Diff line Loading @@ -4,20 +4,25 @@ fetchurl, appimageTools, undmg, _7zz, }: let pname = "paperlib"; version = "3.1.6"; version = "3.1.10"; src = fetchurl { aarch64-darwin = { url = "https://github.com/Future-Scholars/paperlib/releases/download/release-electron-${version}/Paperlib_${version}_arm.dmg"; hash = "sha256-KNMPUeCNtODHzMJhCwI4SJPRfa87RmAe6CRRazgRZCQ="; }; x86_64-darwin = { url = "https://github.com/Future-Scholars/paperlib/releases/download/release-electron-${version}/Paperlib_${version}.dmg"; hash = "sha256-d9vEFx59K15PO7DJYJQ2fjiagqa8oJLtoawILDF9IKc="; hash = "sha256-5QwF0+7Y4LzReHCj8yZrAJDAZVyY0ANC5gjAxdaVRkU="; }; x86_64-linux = { url = "https://github.com/Future-Scholars/paperlib/releases/download/release-electron-${version}/Paperlib_${version}.AppImage"; hash = "sha256-2xbn9UWlcf37n9jZdZKyyevzsag6SW9YuQH/bYCRmLQ="; hash = "sha256-uBYhiUL4YWwnLLPvXMoXjlQqlqFep/OpwwnmPx7s5dY="; }; } .${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); Loading @@ -32,6 +37,7 @@ let license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ ByteSudoer ]; platforms = [ "aarch64-darwin" "x86_64-darwin" "x86_64-linux" ]; Loading @@ -51,7 +57,7 @@ if stdenv.hostPlatform.isDarwin then sourceRoot = "."; nativeBuildInputs = [ undmg ]; nativeBuildInputs = if stdenv.hostPlatform.isAarch64 then [ _7zz ] else [ undmg ]; installPhase = '' runHook preInstall Loading