sile: 0.10.5 → 0.11.1

Add link to changelog.
Add missing deps and patchShebangs in build-aux/*.sh
This commit is contained in:
Caleb Maclennan 2021-09-02 12:31:16 +03:00 committed by Doron Behar
parent 9d753f2704
commit bf18449d63

View file

@ -3,9 +3,8 @@
, fetchurl
, makeWrapper
, pkg-config
, autoconf
, automake
, poppler_utils
, gitMinimal
, harfbuzz
, icu
, fontconfig
@ -39,11 +38,11 @@ in
stdenv.mkDerivation rec {
pname = "sile";
version = "0.10.15";
version = "0.11.1";
src = fetchurl {
url = "https://github.com/sile-typesetter/sile/releases/download/v${version}/${pname}-${version}.tar.xz";
sha256 = "0p1w3s6j34qi93aycqmqggfm277n90z90nlmm1j3qizxxwq5gda9";
sha256 = "06bx94zx6skhizk2bbrid82sldwgxfycvjh6zx1zy1xz8gajgrm3";
};
configureFlags = [
@ -52,8 +51,7 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [
autoconf
automake
gitMinimal
pkg-config
makeWrapper
];
@ -70,7 +68,9 @@ stdenv.mkDerivation rec {
poppler_utils
];
preConfigure = lib.optionalString stdenv.isDarwin ''
preConfigure = ''
patchShebangs build-aux/*.sh
'' + lib.optionalString stdenv.isDarwin ''
sed -i -e 's|@import AppKit;|#import <AppKit/AppKit.h>|' src/macfonts.m
'';
@ -108,7 +108,8 @@ stdenv.mkDerivation rec {
technologies and borrowing some ideas from graphical systems
such as InDesign.
'';
homepage = "https://sile-typesetter.org/";
homepage = "https://sile-typesetter.org";
changelog = "https://github.com/sile-typesetter/sile/raw/v${version}/CHANGELOG.md";
platforms = platforms.unix;
broken = stdenv.isDarwin; # https://github.com/NixOS/nixpkgs/issues/23018
maintainers = with maintainers; [ doronbehar alerque ];