2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-01-28 18:59:03 +00:00
|
|
|
, fetchFromGitHub
|
2020-07-29 16:33:39 +00:00
|
|
|
, nix-update-script
|
2020-01-28 18:59:03 +00:00
|
|
|
, pantheon
|
2020-04-16 05:00:44 +00: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";
|
2020-04-16 05:00:44 +00:00
|
|
|
version = "1.1.0";
|
2020-01-28 18:59:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dahenson";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-04-16 05:00:44 +00:00
|
|
|
sha256 = "0yfapapsanqacaa83iagar88i335yy2jvay8y6z7gkri7avbs4am";
|
2020-01-28 18:59:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
2020-04-16 05:00:44 +00:00
|
|
|
glib # for glib-compile-schemas
|
|
|
|
meson
|
|
|
|
ninja
|
2020-01-28 18:59:03 +00:00
|
|
|
pkg-config
|
2020-04-16 05:00:44 +00:00
|
|
|
python3
|
|
|
|
vala
|
2020-01-28 18:59:03 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
pantheon.granite
|
|
|
|
];
|
|
|
|
|
2020-04-16 05:00:44 +00: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 16:33:39 +00: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 01:11:51 +00:00
|
|
|
homepage = "https://github.com/dahenson/agenda";
|
2020-05-08 07:08:53 +00:00
|
|
|
maintainers = with maintainers; [ xiorcale ] ++ pantheon.maintainers;
|
2020-01-28 18:59:03 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|