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