Unverified Commit ab1d31b7 authored by Bruno BELANYI's avatar Bruno BELANYI Committed by GitHub
Browse files

stirling-pdf: 0.26.1 -> 0.28.3, add updateScript (#335873)

parents 12fb820b 290b0fa1
Loading
Loading
Loading
Loading
+789 −752

File changed.

Preview size limit exceeded, changes collapsed.

+4 −2
Original line number Diff line number Diff line
@@ -12,13 +12,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "stirling-pdf";
  version = "0.26.1";
  version = "0.28.3";

  src = fetchFromGitHub {
    owner = "Stirling-Tools";
    repo = "Stirling-PDF";
    rev = "v${finalAttrs.version}";
    hash = "sha256-msxP2n8Varc7/h9RVwYRBuD253JZu6/p7zQC1lmNmqc=";
    hash = "sha256-88UdJPn9AeLtpKEu3efHm+xj4lheQ0EPyvId4vYskIo=";
  };

  patches = [
@@ -58,6 +58,8 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postInstall
  '';

  passthru.updateScript = ./update.sh;

  meta = {
    changelog = "https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v${finalAttrs.version}";
    description = "Locally hosted web application that allows you to perform various operations on PDF files";
+6 −0
Original line number Diff line number Diff line
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-update

nix-update stirling-pdf
$(nix-build -A stirling-pdf.mitmCache.updateScript)