gtg: refactor (description, platform, version, requirement, formatting)

This commit is contained in:
Moritz Scheuren 2020-08-05 13:12:04 +02:00 committed by Jan Tojnar
parent 0aebcb9b6e
commit 31dde677a6

View File

@ -2,7 +2,6 @@
, fetchFromGitHub
, meson
, python3Packages
, pkgconfig
, ninja
, gtk3
, wrapGAppsHook
@ -16,20 +15,21 @@
python3Packages.buildPythonApplication rec {
pname = "gtg";
version = "0.4";
version = "unstable-2020-08-02";
src = fetchFromGitHub {
owner = "getting-things-gnome";
repo = "gtg";
rev = "6623731f301c1b9c7b727e009f4a6462ad381c68";
sha256 = "14gxgg4nl0ki3dn913041jpyfhxsj90fkd55z6mmpyklhr8mwss1";
owner = "getting-things-gnome";
repo = "gtg";
rev = "6623731f301c1b9c7b727e009f4a6462ad381c68";
sha256 = "14gxgg4nl0ki3dn913041jpyfhxsj90fkd55z6mmpyklhr8mwss1";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
itstool
gettext
wrapGAppsHook
gobject-introspection
];
@ -37,8 +37,6 @@ python3Packages.buildPythonApplication rec {
buildInputs = [
glib
gtk3
itstool
gettext
pango
gdk-pixbuf
];
@ -50,24 +48,21 @@ python3Packages.buildPythonApplication rec {
dbus-python
gst-python
liblarch
pyxdg # can probably be removed after next release
];
format = "other";
strictDeps = false;
strictDeps = false; # gobject-introspection does not run with strictDeps (https://github.com/NixOS/nixpkgs/issues/56943)
meta = with stdenv.lib; {
description = "
Getting Things GNOME! (GTG) is a personal tasks and TODO-list items organizer for the GNOME desktop environment and inspired by the ''Getting Things Done'' (GTD) methodology.
";
longDescription = "
GTG is designed with flexibility, adaptability, and ease of use in mind so it can be used as more than just GTD software.
description = " A personal tasks and TODO-list items organizer.";
longDescription = ''
"Getting Things GNOME" (GTG) is a personal tasks and ToDo list organizer inspired by the "Getting Things Done" (GTD) methodology.
GTG is intended to help you track everything you need to do and need to know, from small tasks to large projects.
";
'';
homepage = "https://wiki.gnome.org/Apps/GTG";
downloadPage = "https://github.com/getting-things-gnome/gtg/releases";
license = licenses.gpl3Only;
maintainers = with maintainers; [ oyren ];
platforms = [ "x86_64-linux" ];
platforms = platforms.linux;
};
}