Doron Behar 2024-11-28 16:15:46 +02:00
parent f3125d2f71
commit 9a68795314

View File

@ -10,6 +10,7 @@
cargo,
rustc,
rustPlatform,
luarocks,
# buildInputs
lua,
@ -30,18 +31,18 @@
stdenv.mkDerivation (finalAttrs: {
pname = "sile";
version = "0.15.6";
version = "0.15.7";
src = fetchurl {
url = "https://github.com/sile-typesetter/sile/releases/download/v${finalAttrs.version}/sile-${finalAttrs.version}.tar.zst";
sha256 = "sha256-CtPvxbpq2/qwuANPp9XDJQHlxIbFiaNZJvYZeUx/wyE=";
sha256 = "sha256-PjU6Qfn+FTL3vt66mkIAn/uXWMPPlH8iK6B264ekIis=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) src;
nativeBuildInputs = [ zstd ];
dontConfigure = true;
hash = "sha256-5SheeabI4SqJZ3edAvX2rUEGTdCXHoBTa+rnX7lv9Cg=";
hash = "sha256-m21SyGtHwVCz+77pYq48Gjnrf/TLCLCf/IQ7AnZk+fo=";
};
nativeBuildInputs = [
@ -51,7 +52,10 @@ stdenv.mkDerivation (finalAttrs: {
cargo
rustc
rustPlatform.cargoSetupHook
luarocks
];
# luarocks propagates cmake, but it shouldn't be used as a build system.
dontUseCmakeConfigure = true;
buildInputs = [
finalAttrs.finalPackage.passthru.luaEnv