summary refs log tree commit diff
path: root/pkgs/tools/graphics/pdftoipe
diff options
context:
space:
mode:
authorEmil "AngryAnt" Johansen <git@eej.dk>2023-06-03 17:56:44 +0200
committerEmil "AngryAnt" Johansen <git@eej.dk>2023-06-07 12:03:36 +0200
commitacb5b93f265fc704b39e28c95552dd01c07135df (patch)
tree40d9b37aea9ca4fbd1cef5f139cb902fdc6c32d1 /pkgs/tools/graphics/pdftoipe
parentb575d76ce129408f9765d59b8bc5d9e34d96d2df (diff)
downloadnixpkgs-acb5b93f265fc704b39e28c95552dd01c07135df.tar
nixpkgs-acb5b93f265fc704b39e28c95552dd01c07135df.tar.gz
nixpkgs-acb5b93f265fc704b39e28c95552dd01c07135df.tar.bz2
nixpkgs-acb5b93f265fc704b39e28c95552dd01c07135df.tar.lz
nixpkgs-acb5b93f265fc704b39e28c95552dd01c07135df.tar.xz
nixpkgs-acb5b93f265fc704b39e28c95552dd01c07135df.tar.zst
nixpkgs-acb5b93f265fc704b39e28c95552dd01c07135df.zip
pdftoipe: fix build by applying patch from PR 55 as well
Diffstat (limited to 'pkgs/tools/graphics/pdftoipe')
-rw-r--r--pkgs/tools/graphics/pdftoipe/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/tools/graphics/pdftoipe/default.nix b/pkgs/tools/graphics/pdftoipe/default.nix
index 763a1366801..fc4e0d964fd 100644
--- a/pkgs/tools/graphics/pdftoipe/default.nix
+++ b/pkgs/tools/graphics/pdftoipe/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
     owner = "otfried";
     repo = "ipe-tools";
     rev = "v${version}";
-    sha256 = "jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
+    hash = "sha256-jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
   };
 
   patches = [
@@ -22,9 +22,16 @@ stdenv.mkDerivation rec {
     # https://github.com/otfried/ipe-tools/pull/48
     (fetchpatch {
       url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch";
-      sha256 = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc=";
+      hash = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc=";
       stripLen = 1;
-      name = "poppler_fix_build.patch";
+      name = "poppler_fix_build_48.patch";
+    })
+    # https://github.com/otfried/ipe-tools/pull/55
+    (fetchpatch {
+      url = "https://github.com/otfried/ipe-tools/commit/65586fcd9cc39e482ae5a9abdb6f4932d9bb88c4.patch";
+      hash = "sha256-qr1AQyWHz1e2a65m05xSHFnP6oSP6qSmMVekNk2flRc=";
+      stripLen = 1;
+      name = "poppler_fix_build_55.patch";
     })
   ];
 
@@ -40,6 +47,7 @@ stdenv.mkDerivation rec {
   meta = with lib; {
     description = "A program that tries to convert arbitrary PDF documents to Ipe files";
     homepage = "https://github.com/otfried/ipe-tools";
+    changelog = "https://github.com/otfried/ipe-tools/releases";
     license = licenses.gpl3Plus;
     maintainers = with maintainers; [ yrd ];
   };