annotator: 1.2.1 -> 2.0.0

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

emaryn f5f8ebf9 d12b3cce

+21 -12
+21 -12
pkgs/by-name/an/annotator/package.nix
··· 6 6 meson, 7 7 ninja, 8 8 vala, 9 - wrapGAppsHook3, 9 + wrapGAppsHook4, 10 10 desktop-file-utils, 11 + gtk3, 11 12 libgee, 12 13 pantheon, 13 14 libxml2, 14 15 libhandy, 16 + libportal-gtk4, 15 17 }: 16 18 17 - stdenv.mkDerivation rec { 19 + stdenv.mkDerivation (finalAttrs: { 18 20 pname = "annotator"; 19 - version = "1.2.1"; 21 + version = "2.0.0"; 20 22 21 23 src = fetchFromGitHub { 22 24 owner = "phase1geo"; 23 25 repo = "annotator"; 24 - rev = version; 25 - hash = "sha256-VHvznkGvrE8o9qq+ijrIStSavq46dS8BqclWEWZ8mG8="; 26 + tag = finalAttrs.version; 27 + hash = "sha256-mv3fMlYB4XcAWI6O6wN8ujNRDLZlX3ef/gKdOMYEHq0="; 26 28 }; 29 + 30 + postPatch = '' 31 + substituteInPlace src/Application.vala \ 32 + --replace-fail 'Environment.set_variable( "GDK_BACKEND", "x11", true );' "" 33 + ''; 27 34 28 35 nativeBuildInputs = [ 29 36 pkg-config 30 37 meson 31 38 ninja 32 39 vala 33 - wrapGAppsHook3 40 + wrapGAppsHook4 34 41 desktop-file-utils 35 42 ]; 36 43 37 44 buildInputs = [ 38 45 libgee 39 - pantheon.granite 46 + pantheon.granite7 47 + libportal-gtk4 40 48 libxml2 41 49 libhandy 50 + gtk3 42 51 ]; 43 52 44 - meta = with lib; { 53 + meta = { 45 54 description = "Image annotation for Elementary OS"; 46 55 homepage = "https://github.com/phase1geo/Annotator"; 47 - license = licenses.gpl3Plus; 56 + license = lib.licenses.gpl3Plus; 48 57 mainProgram = "com.github.phase1geo.annotator"; 49 - maintainers = with maintainers; [ aleksana ]; 50 - platforms = platforms.linux; 58 + maintainers = with lib.maintainers; [ aleksana ]; 59 + platforms = lib.platforms.linux; 51 60 }; 52 - } 61 + })