mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-07 14:23:19 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
52 lines
895 B
Nix
52 lines
895 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, meson
|
|
, ninja
|
|
, vala
|
|
, wrapGAppsHook3
|
|
, desktop-file-utils
|
|
, libgee
|
|
, pantheon
|
|
, libxml2
|
|
, libhandy
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "annotator";
|
|
version = "1.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phase1geo";
|
|
repo = "annotator";
|
|
rev = version;
|
|
hash = "sha256-VHvznkGvrE8o9qq+ijrIStSavq46dS8BqclWEWZ8mG8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
meson
|
|
ninja
|
|
vala
|
|
wrapGAppsHook3
|
|
desktop-file-utils
|
|
];
|
|
|
|
buildInputs = [
|
|
libgee
|
|
pantheon.granite
|
|
libxml2
|
|
libhandy
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Image annotation for Elementary OS";
|
|
homepage = "https://github.com/phase1geo/Annotator";
|
|
license = licenses.gpl3Plus;
|
|
mainProgram = "com.github.phase1geo.annotator";
|
|
maintainers = with maintainers; [ aleksana ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|