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