pdftoipe: fix build by applying patch from PR 55 as well

This commit is contained in:
Emil "AngryAnt" Johansen 2023-06-03 17:56:44 +02:00
parent b575d76ce1
commit acb5b93f26
No known key found for this signature in database
GPG key ID: 0C6DFE2FB234534A

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
owner = "otfried"; owner = "otfried";
repo = "ipe-tools"; repo = "ipe-tools";
rev = "v${version}"; rev = "v${version}";
sha256 = "jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k="; hash = "sha256-jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
}; };
patches = [ patches = [
@ -22,9 +22,16 @@ stdenv.mkDerivation rec {
# https://github.com/otfried/ipe-tools/pull/48 # https://github.com/otfried/ipe-tools/pull/48
(fetchpatch { (fetchpatch {
url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch"; url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch";
sha256 = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc="; hash = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc=";
stripLen = 1; 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; { meta = with lib; {
description = "A program that tries to convert arbitrary PDF documents to Ipe files"; description = "A program that tries to convert arbitrary PDF documents to Ipe files";
homepage = "https://github.com/otfried/ipe-tools"; homepage = "https://github.com/otfried/ipe-tools";
changelog = "https://github.com/otfried/ipe-tools/releases";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ yrd ]; maintainers = with maintainers; [ yrd ];
}; };