Merge pull request #136453 from alerque/sile-0.11.0

sile: 0.10.5 -> 0.11.1
This commit is contained in:
Doron Behar 2021-09-07 13:07:03 +03:00 committed by GitHub
commit 9dfbf8c0a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 17 deletions

View file

@ -75,7 +75,7 @@ mediator_lua,,,,,,
mpack,,,,,,
moonscript,,,,,,arobyn
nvim-client,https://github.com/neovim/lua-client.git,,,,,
penlight,https://github.com/Tieske/Penlight.git,,,,,
penlight,https://github.com/lunarmodules/Penlight.git,,,,,alerque
plenary.nvim,https://github.com/nvim-lua/plenary.nvim.git,,,,lua5_1,
rapidjson,https://github.com/xpol/lua-rapidjson.git,,,,,
readline,,,,,,

1 name src ref server version luaversion maintainers
75 mpack
76 moonscript arobyn
77 nvim-client https://github.com/neovim/lua-client.git
78 penlight https://github.com/Tieske/Penlight.git https://github.com/lunarmodules/Penlight.git alerque
79 plenary.nvim https://github.com/nvim-lua/plenary.nvim.git lua5_1
80 rapidjson https://github.com/xpol/lua-rapidjson.git
81 readline

View file

@ -160,10 +160,10 @@ busted = buildLuarocksPackage {
cassowary = buildLuarocksPackage {
pname = "cassowary";
version = "2.3.1-1";
version = "2.3.1-2";
knownRockspec = (fetchurl {
url = "https://luarocks.org/cassowary-2.3.1-1.rockspec";
sha256 = "1rgs0rmlmhghml0gi4dn0rg2iq7rqnn8w8dcy9r3qsbkpyylbajc";
url = "https://luarocks.org/cassowary-2.3.1-2.rockspec";
sha256 = "04y882f9ai1jhk0zwla2g0fvl56a75rwnxhsl9r3m0qa5i0ia1i5";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/sile-typesetter/cassowary.lua",
@ -171,7 +171,7 @@ cassowary = buildLuarocksPackage {
"date": "2021-07-19T14:37:34+03:00",
"path": "/nix/store/rzsbr6gqg8vhchl24ma3p1h4slhk0xp7-cassowary.lua",
"sha256": "1r668qcvd2a1rx17xp7ajp5wjhyvh2fwn0c60xmw0mnarjb5w1pq",
"fetchSubmodules": true,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}
@ -179,6 +179,10 @@ cassowary = buildLuarocksPackage {
disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua penlight ];
checkInputs = [ busted ];
# Avoid circular dependency issue with busted / penlight, see:
# https://github.com/NixOS/nixpkgs/pull/136453/files#r700982255
doCheck = false;
meta = {
homepage = "https://github.com/sile-typesetter/cassowary.lua";
@ -1953,15 +1957,18 @@ nvim-client = buildLuarocksPackage {
penlight = buildLuarocksPackage {
pname = "penlight";
version = "dev-1";
version = "1.11.0-1";
knownRockspec = (fetchurl {
url = "https://luarocks.org/penlight-1.11.0-1.rockspec";
sha256 = "1sjhnywvamyi9fadhra5pw2an1rhy2hk2byfxmr3n5wi0xrqv004";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/lunarmodules/penlight.git",
"rev": "e3712f00fae09a166dd62540b677600165d5bcd7",
"date": "2021-08-18T21:37:47+02:00",
"path": "/nix/store/i70ndw8qhvcm828ifb3vyj08y22xp0ka-penlight",
"sha256": "19n9xqkb4hlak0k7hamk4ixwjvyxslsnyh1zjazdzrl8n736xhkl",
"fetchSubmodules": true,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}
@ -1969,12 +1976,13 @@ penlight = buildLuarocksPackage {
disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua luafilesystem ];
checkInputs = [ busted busted ];
checkInputs = [ busted ];
doCheck = false;
meta = {
homepage = "https://lunarmodules.github.io/penlight";
description = "Lua utility libraries loosely based on the Python standard libraries";
maintainers = with lib.maintainers; [ alerque ];
license.fullName = "MIT/X11";
};
};

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 ];