Files
nixpkgs/pkgs/by-name/gn/gnome-tecla/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

57 lines
985 B
Nix

{
stdenv,
lib,
fetchurl,
meson,
ninja,
pkg-config,
wrapGAppsHook4,
glib,
gtk4,
libadwaita,
libxkbcommon,
wayland,
gnome,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tecla";
version = "48.0.2";
src = fetchurl {
url = "mirror://gnome/sources/tecla/${lib.versions.major finalAttrs.version}/tecla-${finalAttrs.version}.tar.xz";
hash = "sha256-eD00ZNKiz36xUHZJ29n/Cc4khSwqbJoNNl24QGPT1AE=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
glib
gtk4
libadwaita
libxkbcommon
wayland
];
passthru = {
updateScript = gnome.updateScript {
attrPath = "gnome-tecla";
packageName = "tecla";
};
};
meta = with lib; {
description = "Keyboard layout viewer";
homepage = "https://gitlab.gnome.org/GNOME/tecla";
license = licenses.gpl2Plus;
teams = [ teams.gnome ];
platforms = platforms.unix;
mainProgram = "tecla";
};
})