···12in
13stdenv.mkDerivation (finalAttrs: {
14 pname = "stirling-pdf";
15- version = "0.25.1";
1617 src = fetchFromGitHub {
18 owner = "Stirling-Tools";
19 repo = "Stirling-PDF";
20 rev = "v${finalAttrs.version}";
21- hash = "sha256-DgQLn4+uBAF8/c3G6ckkq/0gtJEE9GPHd1d/xB6omlA=";
22 };
2324 patches = [
···3536 # disable spotless because it tries to fetch files not in deps.json
37 # and also because it slows down the build process
38- gradleFlags = [ "-x" "spotlessApply" ];
0003940 doCheck = true;
4142 nativeBuildInputs = [
43 gradle
044 makeWrapper
45 ];
46···55 '';
5657 meta = {
58- changelog = "https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/${finalAttrs.src.rev}";
59 description = "Locally hosted web application that allows you to perform various operations on PDF files";
60 homepage = "https://github.com/Stirling-Tools/Stirling-PDF";
61 license = lib.licenses.gpl3Only;
···12in
13stdenv.mkDerivation (finalAttrs: {
14 pname = "stirling-pdf";
15+ version = "0.26.1";
1617 src = fetchFromGitHub {
18 owner = "Stirling-Tools";
19 repo = "Stirling-PDF";
20 rev = "v${finalAttrs.version}";
21+ hash = "sha256-msxP2n8Varc7/h9RVwYRBuD253JZu6/p7zQC1lmNmqc=";
22 };
2324 patches = [
···3536 # disable spotless because it tries to fetch files not in deps.json
37 # and also because it slows down the build process
38+ gradleFlags = [
39+ "-x"
40+ "spotlessApply"
41+ ];
4243 doCheck = true;
4445 nativeBuildInputs = [
46 gradle
47+ gradle.jdk # one of the tests also require that the `java` command is available on the command line
48 makeWrapper
49 ];
50···59 '';
6061 meta = {
62+ changelog = "https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v${finalAttrs.version}";
63 description = "Locally hosted web application that allows you to perform various operations on PDF files";
64 homepage = "https://github.com/Stirling-Tools/Stirling-PDF";
65 license = lib.licenses.gpl3Only;