3
0
Fork 0
forked from mirrors/nixpkgs

sile: 0.9.4 -> 0.9.5

This commit is contained in:
Vincent Laporte 2019-01-12 10:02:38 +01:00
parent df712e2055
commit 3e7fa939f4
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 7 additions and 6 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, darwin, fetchurl, makeWrapper, pkgconfig
, harfbuzz, icu, lpeg, luaexpat, luazlib, luafilesystem
, harfbuzz, icu, lpeg, luaexpat, luazlib, luafilesystem, luasocket, luasec
, fontconfig, lua, libiconv
}:
@ -7,7 +7,7 @@ with stdenv.lib;
let
libs = [lpeg luaexpat luazlib luafilesystem];
libs = [ lpeg luaexpat luazlib luafilesystem luasocket luasec ];
getPath = lib : type : "${lib}/lib/lua/${lua.luaversion}/?.${type};${lib}/share/lua/${lua.luaversion}/?.${type}";
getLuaPath = lib : getPath lib "lua";
getLuaCPath = lib : getPath lib "so";
@ -18,15 +18,16 @@ in
stdenv.mkDerivation rec {
name = "sile-${version}";
version = "0.9.4";
version = "0.9.5";
src = fetchurl {
url = "https://github.com/simoncozens/sile/releases/download/v${version}/${name}.tar.bz2";
sha256 = "1mald727hy9bi17rcaph8q400yn5xqkn5f2xf1408g94wmwncs8w";
sha256 = "0m80rkbkma11xsr7bbrmq5mdwi5k79clsrmc75blbnsf9wqil8dp";
};
nativeBuildInputs = [pkgconfig makeWrapper];
buildInputs = [ harfbuzz icu lua lpeg luaexpat luazlib luafilesystem fontconfig libiconv ]
buildInputs = [ harfbuzz icu lua fontconfig libiconv ]
++ libs
++ optional stdenv.isDarwin darwin.apple_sdk.frameworks.AppKit
;

View file

@ -5432,7 +5432,7 @@ in
silc_server = callPackage ../servers/silc-server { };
sile = callPackage ../tools/typesetting/sile {
inherit (lua52Packages) lua luaexpat luazlib luafilesystem lpeg;
inherit (lua52Packages) lua luaexpat luazlib luafilesystem lpeg luasocket luasec;
};
silver-searcher = callPackage ../tools/text/silver-searcher { };