1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 gtk3,
7 intltool,
8 libintl,
9 pkg-config,
10 gitUpdater,
11}:
12
13stdenv.mkDerivation rec {
14 pname = "lxtask";
15 version = "0.1.12";
16
17 src = fetchFromGitHub {
18 owner = "lxde";
19 repo = "lxtask";
20 rev = version;
21 hash = "sha256-BI50jV/17jGX91rcmg98+gkoy35oNpdSSaVDLyagbIc=";
22 };
23
24 nativeBuildInputs = [
25 autoreconfHook
26 intltool
27 pkg-config
28 ];
29
30 buildInputs = [
31 gtk3
32 libintl
33 ];
34
35 configureFlags = [ "--enable-gtk3" ];
36
37 passthru.updateScript = gitUpdater { };
38
39 meta = with lib; {
40 homepage = "https://lxde.sourceforge.net/";
41 description = "Lightweight and desktop independent task manager";
42 mainProgram = "lxtask";
43 longDescription = ''
44 LXTask is a lightweight task manager derived from xfce4 task manager
45 with all xfce4 dependencies removed, some bugs fixed, and some
46 improvement of UI. Although being part of LXDE, the Lightweight X11
47 Desktop Environment, it's totally desktop independent and only
48 requires pure GTK.
49 '';
50 license = licenses.gpl2Plus;
51 platforms = platforms.unix;
52 maintainers = [ maintainers.romildo ];
53 };
54}