Merge pull request #207712 from drupol/open-pdf-sign/bump-0.1.1

open-pdf-sign: 0.1.1 -> 0.1.1
This commit is contained in:
figsoda 2022-12-25 16:04:41 -05:00 committed by GitHub
commit beb4c81866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, makeWrapper, jre }:
{ lib, stdenv, fetchurl, makeWrapper, jre, nix-update-script }:
stdenv.mkDerivation rec {
version = "0.1.0";
version = "0.1.1";
pname = "open-pdf-sign";
src = fetchurl {
url = "https://github.com/open-pdf-sign/open-pdf-sign/releases/download/v${version}/open-pdf-sign.jar";
sha256 = "AfxpqDLIycXMQmYexRoFh5DD/UCBHrnGSMjfjljvKs4=";
sha256 = "sha256-n8ua/wUz/PquB7viaFqBu2XX1KQYago4s6JUwYRLvNA=";
};
nativeBuildInputs = [ makeWrapper ];
@ -19,6 +19,12 @@ stdenv.mkDerivation rec {
--add-flags "-jar $out/lib/open-pdf-sign.jar"
'';
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
meta = with lib; {
description = "Digitally sign PDF files from your commandline";
homepage = "https://github.com/open-pdf-sign/open-pdf-sign";