annotator: 1.2.1 -> 2.0.0

Diff: https://github.com/phase1geo/annotator/compare/1.2.1...2.0.0

emaryn f5f8ebf9 d12b3cce

Changed files
+21 -12
pkgs
by-name
an
annotator
+21 -12
pkgs/by-name/an/annotator/package.nix
···
meson,
ninja,
vala,
-
wrapGAppsHook3,
+
wrapGAppsHook4,
desktop-file-utils,
+
gtk3,
libgee,
pantheon,
libxml2,
libhandy,
+
libportal-gtk4,
}:
-
stdenv.mkDerivation rec {
+
stdenv.mkDerivation (finalAttrs: {
pname = "annotator";
-
version = "1.2.1";
+
version = "2.0.0";
src = fetchFromGitHub {
owner = "phase1geo";
repo = "annotator";
-
rev = version;
-
hash = "sha256-VHvznkGvrE8o9qq+ijrIStSavq46dS8BqclWEWZ8mG8=";
+
tag = finalAttrs.version;
+
hash = "sha256-mv3fMlYB4XcAWI6O6wN8ujNRDLZlX3ef/gKdOMYEHq0=";
};
+
+
postPatch = ''
+
substituteInPlace src/Application.vala \
+
--replace-fail 'Environment.set_variable( "GDK_BACKEND", "x11", true );' ""
+
'';
nativeBuildInputs = [
pkg-config
meson
ninja
vala
-
wrapGAppsHook3
+
wrapGAppsHook4
desktop-file-utils
];
buildInputs = [
libgee
-
pantheon.granite
+
pantheon.granite7
+
libportal-gtk4
libxml2
libhandy
+
gtk3
];
-
meta = with lib; {
+
meta = {
description = "Image annotation for Elementary OS";
homepage = "https://github.com/phase1geo/Annotator";
-
license = licenses.gpl3Plus;
+
license = lib.licenses.gpl3Plus;
mainProgram = "com.github.phase1geo.annotator";
-
maintainers = with maintainers; [ aleksana ];
-
platforms = platforms.linux;
+
maintainers = with lib.maintainers; [ aleksana ];
+
platforms = lib.platforms.linux;
};
-
}
+
})