altermime: switch to finalAttrs and SRI hash format (#527729)

This commit is contained in:
7c6f434c
2026-06-12 11:59:56 +00:00
committed by GitHub
+4 -4
View File
@@ -4,13 +4,13 @@
fetchurl,
}:
gccStdenv.mkDerivation rec {
gccStdenv.mkDerivation (finalAttrs: {
pname = "altermime";
version = "0.3.11";
src = fetchurl {
url = "https://pldaniels.com/altermime/altermime-${version}.tar.gz";
sha256 = "15zxg6spcmd35r6xbidq2fgcg2nzyv1sbbqds08lzll70mqx4pj7";
url = "https://pldaniels.com/altermime/altermime-${finalAttrs.version}.tar.gz";
hash = "sha256-R17ScQWH0k8R0A2vpcP234rHnhO4xdVNLqNVdrV5/Zc=";
};
env.NIX_CFLAGS_COMPILE = toString [
@@ -36,4 +36,4 @@ gccStdenv.mkDerivation rec {
downloadPage = "https://pldaniels.com/altermime/";
mainProgram = "altermime";
};
}
})