From e4dc20502378735df4a5fcb295f40537dceb0372 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Thu, 16 Apr 2020 01:00:44 -0400 Subject: [PATCH] agenda: 1.0.12 -> 1.1.0 https://github.com/dahenson/agenda/releases/tag/1.1.0 --- pkgs/applications/office/agenda/default.nix | 22 ++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/office/agenda/default.nix b/pkgs/applications/office/agenda/default.nix index 04bbbbc498c..9bf3b42c3ff 100644 --- a/pkgs/applications/office/agenda/default.nix +++ b/pkgs/applications/office/agenda/default.nix @@ -1,7 +1,9 @@ { stdenv , fetchFromGitHub , pantheon -, cmake +, meson +, ninja +, python3 , pkg-config , vala , gettext @@ -13,20 +15,23 @@ stdenv.mkDerivation rec { pname = "agenda"; - version = "1.0.12"; + version = "1.1.0"; src = fetchFromGitHub { owner = "dahenson"; repo = pname; rev = version; - sha256 = "128c9p2jkc90imlq25xg5alqlam8q4i3gd5p1kcggf7s4amv8l8w"; + sha256 = "0yfapapsanqacaa83iagar88i335yy2jvay8y6z7gkri7avbs4am"; }; nativeBuildInputs = [ - cmake gettext - vala + glib # for glib-compile-schemas + meson + ninja pkg-config + python3 + vala wrapGAppsHook ]; @@ -37,6 +42,13 @@ stdenv.mkDerivation rec { pantheon.granite ]; + postPatch = '' + chmod +x meson/post_install.py + patchShebangs meson/post_install.py + ''; + + doCheck = true; + passthru = { updateScript = pantheon.updateScript { attrPath = pname;