sile: remove unnecessary buildInputs, normalize source name and hash key

This commit is contained in:
Caleb Maclennan
2024-12-01 00:06:03 +03:00
parent d39e6db492
commit d95613b40e
+4 -7
View File
@@ -18,8 +18,6 @@
icu,
fontconfig,
libiconv,
stylua,
typos,
# FONTCONFIG_FILE
makeFontsConf,
gentium,
@@ -35,14 +33,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "https://github.com/sile-typesetter/sile/releases/download/v${finalAttrs.version}/sile-${finalAttrs.version}.tar.zst";
sha256 = "sha256-PjU6Qfn+FTL3vt66mkIAn/uXWMPPlH8iK6B264ekIis=";
hash = "sha256-PjU6Qfn+FTL3vt66mkIAn/uXWMPPlH8iK6B264ekIis=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) src;
inherit (finalAttrs) pname version src;
nativeBuildInputs = [ zstd ];
# so the cargo fetcher won't try to run the `./configure` script
dontConfigure = true;
hash = "sha256-m21SyGtHwVCz+77pYq48Gjnrf/TLCLCf/IQ7AnZk+fo=";
hash = "sha256-iPkXEUC4U1m/ComIDo/J5kwkmM1QdowioNtnSnmMhJ0=";
};
nativeBuildInputs = [
@@ -63,8 +62,6 @@ stdenv.mkDerivation (finalAttrs: {
icu
fontconfig
libiconv
stylua
typos
];
configureFlags =