about summary refs log tree commit diff
path: root/pkgs/applications/misc/taskwarrior/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/taskwarrior/default.nix')
-rw-r--r--pkgs/applications/misc/taskwarrior/default.nix51
1 files changed, 0 insertions, 51 deletions
diff --git a/pkgs/applications/misc/taskwarrior/default.nix b/pkgs/applications/misc/taskwarrior/default.nix
deleted file mode 100644
index 105d470d13580..0000000000000
--- a/pkgs/applications/misc/taskwarrior/default.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, cmake, libuuid, gnutls, python3, xdg-utils, installShellFiles }:
-
-stdenv.mkDerivation rec {
-  pname = "taskwarrior";
-  version = "2.6.2";
-
-  src = fetchFromGitHub {
-    owner = "GothenburgBitFactory";
-    repo = "taskwarrior";
-    rev = "v${version}";
-    sha256 = "sha256-0YveqiylXJi4cdDCfnPtwCVOJbQrZYsxnXES+9B4Yfw=";
-    fetchSubmodules = true;
-  };
-
-  postPatch = ''
-    substituteInPlace src/commands/CmdNews.cpp \
-      --replace "xdg-open" "${lib.getBin xdg-utils}/bin/xdg-open"
-  '';
-
-  nativeBuildInputs = [ cmake libuuid gnutls python3 installShellFiles ];
-
-  doCheck = true;
-  preCheck = ''
-    patchShebangs --build test
-  '';
-  checkTarget = "test";
-
-  postInstall = ''
-    # ZSH is installed automatically from some reason, only bash and fish need
-    # manual installation
-    installShellCompletion --cmd task \
-      --bash $out/share/doc/task/scripts/bash/task.sh \
-      --fish $out/share/doc/task/scripts/fish/task.fish
-    rm -r $out/share/doc/task/scripts/bash
-    rm -r $out/share/doc/task/scripts/fish
-    # Install vim and neovim plugin
-    mkdir -p $out/share/vim-plugins
-    mv $out/share/doc/task/scripts/vim $out/share/vim-plugins/task
-    mkdir -p $out/share/nvim
-    ln -s $out/share/vim-plugins/task $out/share/nvim/site
-  '';
-
-  meta = with lib; {
-    description = "Highly flexible command-line tool to manage TODO lists";
-    homepage = "https://taskwarrior.org";
-    license = licenses.mit;
-    maintainers = with maintainers; [ marcweber oxalica ];
-    mainProgram = "task";
-    platforms = platforms.unix;
-  };
-}