Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

73 lines
1.5 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
cargo,
rustc,
meson,
ninja,
pkg-config,
wrapGAppsHook4,
desktop-file-utils,
glib,
gtk4,
libadwaita,
gettext,
appstream,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hieroglyphic";
version = "1.1.0";
src = fetchFromGitHub {
owner = "FineFindus";
repo = "Hieroglyphic";
tag = "v${finalAttrs.version}";
hash = "sha256-8UUFatJwtxqumhHd0aiPk6nKsaaF/jIIqMFxXye0X8U=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-JHlvSo5wl0G9yF9KIwFXILu7T0Pv6f6JC0Q90wfuD94=";
};
nativeBuildInputs = [
rustPlatform.cargoSetupHook
cargo
rustc
meson
ninja
pkg-config
wrapGAppsHook4
desktop-file-utils
appstream
];
buildInputs = [
glib
gtk4
libadwaita
];
# needed for darwin
env.GETTEXT_DIR = "${gettext}";
passthru = {
updateScript = nix-update-script { };
};
meta = {
changelog = "https://github.com/FineFindus/Hieroglyphic/releases/tag/v${finalAttrs.version}";
description = "Tool based on detexify for finding LaTeX symbols from drawings";
homepage = "https://apps.gnome.org/en/Hieroglyphic/";
license = lib.licenses.gpl3Only;
mainProgram = "hieroglyphic";
maintainers = with lib.maintainers; [ tomasajt ];
teams = [ lib.teams.gnome-circle ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
})