2022-01-25 03:21:06 +00:00
|
|
|
{ program ? "pdfstudioviewer"
|
2022-01-23 02:10:13 +00:00
|
|
|
, fetchurl
|
|
|
|
, libgccjit
|
2022-01-25 03:21:06 +00:00
|
|
|
, callPackage
|
2022-01-23 02:10:13 +00:00
|
|
|
}:
|
2021-12-24 04:21:11 +00:00
|
|
|
|
2022-01-25 03:21:06 +00:00
|
|
|
{
|
|
|
|
pdfstudio = callPackage ./common.nix rec {
|
|
|
|
pname = program;
|
|
|
|
year = "2021";
|
|
|
|
version = "${year}.1.2";
|
|
|
|
desktopName = "PDF Studio";
|
|
|
|
longDescription = ''
|
|
|
|
PDF Studio is an easy to use, full-featured PDF editing software. This is the standard/pro edition, which requires a license. For the free PDF Studio Viewer see the package pdfstudioviewer.
|
|
|
|
'';
|
|
|
|
extraBuildInputs = [
|
|
|
|
libgccjit #for libstdc++.so.6 and libgomp.so.1
|
|
|
|
];
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.qoppa.com/${pname}/v${year}/PDFStudio_v${
|
2022-01-23 02:10:13 +00:00
|
|
|
builtins.replaceStrings [ "." ] [ "_" ] version
|
2022-01-25 03:21:06 +00:00
|
|
|
}_linux64.deb";
|
|
|
|
sha256 = "1188ll2qz58rr2slavqxisbz4q3fdzidpasb1p33926z0ym3rk45";
|
|
|
|
};
|
2021-12-24 04:21:11 +00:00
|
|
|
};
|
|
|
|
|
2022-01-25 03:21:06 +00:00
|
|
|
pdfstudioviewer = callPackage ./common.nix rec {
|
|
|
|
pname = program;
|
|
|
|
year = "2021";
|
|
|
|
version = "${year}.1.2";
|
|
|
|
desktopName = "PDF Studio Viewer";
|
|
|
|
longDescription = ''
|
|
|
|
PDF Studio Viewer is an easy to use, full-featured PDF editing software. This is the free edition. For the standard/pro edition, see the package pdfstudio.
|
|
|
|
'';
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.qoppa.com/${pname}/v${year}/PDFStudioViewer_v${
|
|
|
|
builtins.replaceStrings [ "." ] [ "_" ] version
|
|
|
|
}_linux64.deb";
|
|
|
|
sha256 = "128k3fm8m8zdykx4s30g5m2zl7cgmvs4qinf1w525zh84v56agz6";
|
|
|
|
};
|
2021-12-24 04:21:11 +00:00
|
|
|
};
|
2022-01-25 03:21:06 +00:00
|
|
|
}.${program}
|