2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2020-01-28 19:59:03 +01:00
|
|
|
, fetchFromGitHub
|
2020-07-29 18:33:39 +02:00
|
|
|
, nix-update-script
|
2020-01-28 19:59:03 +01:00
|
|
|
, pantheon
|
2020-04-16 07:00:44 +02:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, python3
|
2020-01-28 19:59:03 +01:00
|
|
|
, pkg-config
|
|
|
|
, vala
|
|
|
|
, gettext
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, libgee
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "agenda";
|
2021-08-15 02:36:49 +02:00
|
|
|
version = "1.1.2";
|
2020-01-28 19:59:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dahenson";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-08-15 02:36:49 +02:00
|
|
|
sha256 = "sha256-tzGcqCxIkoBNskpadEqv289Sj5bij9u+LdYySiGdop8=";
|
2020-01-28 19:59:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
2020-04-16 07:00:44 +02:00
|
|
|
glib # for glib-compile-schemas
|
|
|
|
meson
|
|
|
|
ninja
|
2020-01-28 19:59:03 +01:00
|
|
|
pkg-config
|
2020-04-16 07:00:44 +02:00
|
|
|
python3
|
|
|
|
vala
|
2020-01-28 19:59:03 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
pantheon.granite
|
|
|
|
];
|
|
|
|
|
2020-04-16 07:00:44 +02:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2020-01-28 19:59:03 +01:00
|
|
|
passthru = {
|
2020-07-29 18:33:39 +02:00
|
|
|
updateScript = nix-update-script {
|
2020-01-28 19:59:03 +01:00
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-01-28 19:59:03 +01:00
|
|
|
description = "A simple, fast, no-nonsense to-do (task) list designed for elementary OS";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/dahenson/agenda";
|
2021-09-18 17:00:51 +02:00
|
|
|
maintainers = with maintainers; [ xiorcale ] ++ teams.pantheon.members;
|
2020-01-28 19:59:03 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
2021-11-03 11:27:38 +01:00
|
|
|
mainProgram = "com.github.dahenson.agenda";
|
2020-01-28 19:59:03 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|