depot/third_party/nixpkgs/pkgs/desktops/gnome-3/extensions/taskwhisperer/default.nix
Default email 4a3aa3d7d8 Project import generated by Copybara.
GitOrigin-RevId: 24c9b05ac53e422f1af81a156f1fd58499eb27fb
2020-10-11 14:50:04 +02:00

42 lines
956 B
Nix

{ stdenv, substituteAll, fetchFromGitHub, taskwarrior, gettext, runtimeShell, gnome3 }:
stdenv.mkDerivation rec {
pname = "gnome-shell-extension-taskwhisperer";
version = "16";
src = fetchFromGitHub {
owner = "cinatic";
repo = "taskwhisperer";
rev = "v${version}";
sha256 = "05w2dfpr5vrydb7ij4nd2gb7c31nxix3j48rb798r4jzl1rakyah";
};
nativeBuildInputs = [
gettext
];
buildInputs = [
taskwarrior
];
uuid = "taskwhisperer-extension@infinicode.de";
makeFlags = [
"INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions"
];
patches = [
(substituteAll {
src = ./fix-paths.patch;
task = "${taskwarrior}/bin/task";
shell = runtimeShell;
})
];
meta = with stdenv.lib; {
description = "GNOME Shell TaskWarrior GUI";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jonafato ];
homepage = "https://github.com/cinatic/taskwhisperer";
};
}