open-pdf-sign: 0.1.1 -> 0.1.1

This commit is contained in:
Pol Dellaiera 2022-12-25 19:33:23 +01:00
parent c2e1d345cb
commit d79b86954f
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

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";