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