about summary refs log tree commit diff
path: root/pkgs/tools/misc/handlr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/handlr/default.nix')
-rw-r--r--pkgs/tools/misc/handlr/default.nix37
1 files changed, 0 insertions, 37 deletions
diff --git a/pkgs/tools/misc/handlr/default.nix b/pkgs/tools/misc/handlr/default.nix
deleted file mode 100644
index b2245eafe534..000000000000
--- a/pkgs/tools/misc/handlr/default.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{ lib, stdenv, rustPlatform, fetchFromGitHub, shared-mime-info, libiconv, installShellFiles }:
-
-rustPlatform.buildRustPackage rec {
-  pname = "handlr";
-  version = "unstable-2021-08-29";
-
-  src = fetchFromGitHub {
-    owner = "chmln";
-    repo = pname;
-    rev = "90e78ba92d0355cb523abf268858f3123fd81238";
-    sha256 = "sha256-wENhlUBwfNg/r7yMKa1cQI1fbFw+qowwK8EdO912Yys=";
-  };
-
-  cargoHash = "sha256-30fSOzWq1CoIabPWGWndi/SaCN/ckxjlbtzuwV8rk6M=";
-
-  nativeBuildInputs = [ installShellFiles shared-mime-info ];
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
-
-  preCheck = ''
-    export HOME=$TEMPDIR
-  '';
-
-  postInstall = ''
-    installShellCompletion \
-      --zsh  completions/_handlr \
-      --bash  completions/handlr \
-      --fish completions/handlr.fish
-  '';
-
-  meta = with lib; {
-    description = "Alternative to xdg-open to manage default applications with ease";
-    homepage = "https://github.com/chmln/handlr";
-    license = licenses.mit;
-    maintainers = with maintainers; [ artturin ];
-    mainProgram = "handlr";
-  };
-}