mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
5ff2417593
https://gitlab.gnome.org/GNOME/tecla/-/compare/45.rc...45.0 Tested and confirmed l10n works. Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com> Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com> Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
56 lines
978 B
Nix
56 lines
978 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchurl
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wrapGAppsHook4
|
|
, glib
|
|
, gtk4
|
|
, libadwaita
|
|
, libxkbcommon
|
|
, wayland
|
|
, gnome
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "tecla";
|
|
version = "45.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/tecla/${lib.versions.major finalAttrs.version}/tecla-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-XAK7QBmxz/tWY9phB1A+/4U4Nqh4PdRwXdBKSfetwls=";
|
|
};
|
|
|
|
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;
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.unix;
|
|
mainProgram = "tecla";
|
|
};
|
|
})
|