share-preview: unbreak (#401871)

This commit is contained in:
Aleksana
2025-05-03 19:01:30 +08:00
committed by GitHub
2 changed files with 3431 additions and 2 deletions
+8 -2
View File
@@ -27,10 +27,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-FqualaTkirB+gBcgkThQpSBHhM4iaXkiGujwBUnUX0E=";
};
patches = [
./wasm-bindgen.patch
];
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) src;
inherit (finalAttrs) src patches;
name = "share-preview-${finalAttrs.version}";
hash = "sha256-XY48fQ5HLvZ1nxLk6rbuxSBAHAPUcnwu/5AwgTWhfbg=";
hash = "sha256-lDSRXe+AjJzWT0hda/aev6kNJAvHblGmmAYXdYhrnQs=";
};
nativeBuildInputs = [
@@ -65,6 +69,8 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "Preview and debug websites metadata tags for social media share";
homepage = "https://apps.gnome.org/SharePreview";
downloadPage = "https://github.com/rafaelmardojai/share-preview";
changelog = "https://github.com/rafaelmardojai/share-preview/releases/tag/${finalAttrs.version}";
license = lib.licenses.gpl3Plus;
mainProgram = "share-preview";
teams = [ lib.teams.gnome-circle ];
File diff suppressed because it is too large Load Diff