2020-01-28 18:59:03 +00:00
|
|
|
{ stdenv
|
|
|
|
, 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";
|
2020-04-16 06:00:44 +01:00
|
|
|
version = "1.1.0";
|
2020-01-28 18:59:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dahenson";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-04-16 06:00:44 +01:00
|
|
|
sha256 = "0yfapapsanqacaa83iagar88i335yy2jvay8y6z7gkri7avbs4am";
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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";
|
2020-05-08 08:08:53 +01:00
|
|
|
maintainers = with maintainers; [ xiorcale ] ++ pantheon.maintainers;
|
2020-01-28 18:59:03 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|