2019-09-23 15:53:45 -07:00
|
|
|
{ stdenv, substituteAll, fetchFromGitHub, taskwarrior, gettext, runtimeShell, gnome3 }:
|
2018-02-16 22:55:06 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "gnome-shell-extension-taskwhisperer";
|
2020-10-07 15:08:08 -07:00
|
|
|
version = "16";
|
2018-02-16 22:55:06 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cinatic";
|
|
|
|
repo = "taskwhisperer";
|
|
|
|
rev = "v${version}";
|
2020-10-07 15:08:08 -07:00
|
|
|
sha256 = "05w2dfpr5vrydb7ij4nd2gb7c31nxix3j48rb798r4jzl1rakyah";
|
2018-02-16 22:55:06 -08:00
|
|
|
};
|
|
|
|
|
2019-04-02 15:13:02 -07:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
taskwarrior
|
|
|
|
];
|
2018-02-16 22:55:06 -08:00
|
|
|
|
|
|
|
uuid = "taskwhisperer-extension@infinicode.de";
|
|
|
|
|
2019-04-02 15:13:02 -07:00
|
|
|
makeFlags = [
|
2019-09-03 09:38:57 -07:00
|
|
|
"INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions"
|
2019-04-02 15:13:02 -07:00
|
|
|
];
|
2018-02-16 22:55:06 -08:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-paths.patch;
|
|
|
|
task = "${taskwarrior}/bin/task";
|
2019-09-08 16:38:31 -07:00
|
|
|
shell = runtimeShell;
|
2018-02-16 22:55:06 -08:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GNOME Shell TaskWarrior GUI";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ jonafato ];
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/cinatic/taskwhisperer";
|
2018-02-16 22:55:06 -08:00
|
|
|
};
|
|
|
|
}
|