mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
Merge pull request #136453 from alerque/sile-0.11.0
sile: 0.10.5 -> 0.11.1
This commit is contained in:
commit
9dfbf8c0a5
@ -75,7 +75,7 @@ mediator_lua,,,,,,
|
|||||||
mpack,,,,,,
|
mpack,,,,,,
|
||||||
moonscript,,,,,,arobyn
|
moonscript,,,,,,arobyn
|
||||||
nvim-client,https://github.com/neovim/lua-client.git,,,,,
|
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,
|
plenary.nvim,https://github.com/nvim-lua/plenary.nvim.git,,,,lua5_1,
|
||||||
rapidjson,https://github.com/xpol/lua-rapidjson.git,,,,,
|
rapidjson,https://github.com/xpol/lua-rapidjson.git,,,,,
|
||||||
readline,,,,,,
|
readline,,,,,,
|
||||||
|
|
@ -160,10 +160,10 @@ busted = buildLuarocksPackage {
|
|||||||
|
|
||||||
cassowary = buildLuarocksPackage {
|
cassowary = buildLuarocksPackage {
|
||||||
pname = "cassowary";
|
pname = "cassowary";
|
||||||
version = "2.3.1-1";
|
version = "2.3.1-2";
|
||||||
knownRockspec = (fetchurl {
|
knownRockspec = (fetchurl {
|
||||||
url = "https://luarocks.org/cassowary-2.3.1-1.rockspec";
|
url = "https://luarocks.org/cassowary-2.3.1-2.rockspec";
|
||||||
sha256 = "1rgs0rmlmhghml0gi4dn0rg2iq7rqnn8w8dcy9r3qsbkpyylbajc";
|
sha256 = "04y882f9ai1jhk0zwla2g0fvl56a75rwnxhsl9r3m0qa5i0ia1i5";
|
||||||
}).outPath;
|
}).outPath;
|
||||||
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
|
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
|
||||||
"url": "https://github.com/sile-typesetter/cassowary.lua",
|
"url": "https://github.com/sile-typesetter/cassowary.lua",
|
||||||
@ -171,7 +171,7 @@ cassowary = buildLuarocksPackage {
|
|||||||
"date": "2021-07-19T14:37:34+03:00",
|
"date": "2021-07-19T14:37:34+03:00",
|
||||||
"path": "/nix/store/rzsbr6gqg8vhchl24ma3p1h4slhk0xp7-cassowary.lua",
|
"path": "/nix/store/rzsbr6gqg8vhchl24ma3p1h4slhk0xp7-cassowary.lua",
|
||||||
"sha256": "1r668qcvd2a1rx17xp7ajp5wjhyvh2fwn0c60xmw0mnarjb5w1pq",
|
"sha256": "1r668qcvd2a1rx17xp7ajp5wjhyvh2fwn0c60xmw0mnarjb5w1pq",
|
||||||
"fetchSubmodules": true,
|
"fetchSubmodules": false,
|
||||||
"deepClone": false,
|
"deepClone": false,
|
||||||
"leaveDotGit": false
|
"leaveDotGit": false
|
||||||
}
|
}
|
||||||
@ -179,6 +179,10 @@ cassowary = buildLuarocksPackage {
|
|||||||
|
|
||||||
disabled = (luaOlder "5.1");
|
disabled = (luaOlder "5.1");
|
||||||
propagatedBuildInputs = [ lua penlight ];
|
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 = {
|
meta = {
|
||||||
homepage = "https://github.com/sile-typesetter/cassowary.lua";
|
homepage = "https://github.com/sile-typesetter/cassowary.lua";
|
||||||
@ -1953,15 +1957,18 @@ nvim-client = buildLuarocksPackage {
|
|||||||
|
|
||||||
penlight = buildLuarocksPackage {
|
penlight = buildLuarocksPackage {
|
||||||
pname = "penlight";
|
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 ''{
|
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
|
||||||
"url": "https://github.com/lunarmodules/penlight.git",
|
"url": "https://github.com/lunarmodules/penlight.git",
|
||||||
"rev": "e3712f00fae09a166dd62540b677600165d5bcd7",
|
"rev": "e3712f00fae09a166dd62540b677600165d5bcd7",
|
||||||
"date": "2021-08-18T21:37:47+02:00",
|
"date": "2021-08-18T21:37:47+02:00",
|
||||||
"path": "/nix/store/i70ndw8qhvcm828ifb3vyj08y22xp0ka-penlight",
|
"path": "/nix/store/i70ndw8qhvcm828ifb3vyj08y22xp0ka-penlight",
|
||||||
"sha256": "19n9xqkb4hlak0k7hamk4ixwjvyxslsnyh1zjazdzrl8n736xhkl",
|
"sha256": "19n9xqkb4hlak0k7hamk4ixwjvyxslsnyh1zjazdzrl8n736xhkl",
|
||||||
"fetchSubmodules": true,
|
"fetchSubmodules": false,
|
||||||
"deepClone": false,
|
"deepClone": false,
|
||||||
"leaveDotGit": false
|
"leaveDotGit": false
|
||||||
}
|
}
|
||||||
@ -1969,12 +1976,13 @@ penlight = buildLuarocksPackage {
|
|||||||
|
|
||||||
disabled = (luaOlder "5.1");
|
disabled = (luaOlder "5.1");
|
||||||
propagatedBuildInputs = [ lua luafilesystem ];
|
propagatedBuildInputs = [ lua luafilesystem ];
|
||||||
checkInputs = [ busted busted ];
|
checkInputs = [ busted ];
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://lunarmodules.github.io/penlight";
|
homepage = "https://lunarmodules.github.io/penlight";
|
||||||
description = "Lua utility libraries loosely based on the Python standard libraries";
|
description = "Lua utility libraries loosely based on the Python standard libraries";
|
||||||
|
maintainers = with lib.maintainers; [ alerque ];
|
||||||
license.fullName = "MIT/X11";
|
license.fullName = "MIT/X11";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
, fetchurl
|
, fetchurl
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, autoconf
|
|
||||||
, automake
|
|
||||||
, poppler_utils
|
, poppler_utils
|
||||||
|
, gitMinimal
|
||||||
, harfbuzz
|
, harfbuzz
|
||||||
, icu
|
, icu
|
||||||
, fontconfig
|
, fontconfig
|
||||||
@ -39,11 +38,11 @@ in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sile";
|
pname = "sile";
|
||||||
version = "0.10.15";
|
version = "0.11.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/sile-typesetter/sile/releases/download/v${version}/${pname}-${version}.tar.xz";
|
url = "https://github.com/sile-typesetter/sile/releases/download/v${version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0p1w3s6j34qi93aycqmqggfm277n90z90nlmm1j3qizxxwq5gda9";
|
sha256 = "06bx94zx6skhizk2bbrid82sldwgxfycvjh6zx1zy1xz8gajgrm3";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
@ -52,8 +51,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoconf
|
gitMinimal
|
||||||
automake
|
|
||||||
pkg-config
|
pkg-config
|
||||||
makeWrapper
|
makeWrapper
|
||||||
];
|
];
|
||||||
@ -70,7 +68,9 @@ stdenv.mkDerivation rec {
|
|||||||
poppler_utils
|
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
|
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
|
technologies and borrowing some ideas from graphical systems
|
||||||
such as InDesign.
|
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;
|
platforms = platforms.unix;
|
||||||
broken = stdenv.isDarwin; # https://github.com/NixOS/nixpkgs/issues/23018
|
broken = stdenv.isDarwin; # https://github.com/NixOS/nixpkgs/issues/23018
|
||||||
maintainers = with maintainers; [ doronbehar alerque ];
|
maintainers = with maintainers; [ doronbehar alerque ];
|
||||||
|
Loading…
Reference in New Issue
Block a user