summary refs log tree commit diff
path: root/pkgs/tools/misc/handlr
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-05-18 18:11:52 +0300
committerArtturin <Artturin@artturin.com>2022-05-18 18:19:13 +0300
commit22eb09728de90479f49f09925c4d223677c56a06 (patch)
tree23570abbb37d037a12c6dee951977b64798ff4e5 /pkgs/tools/misc/handlr
parentcd273cd6ba234f368ee1ec8f9aa133dc2607a35c (diff)
downloadnixpkgs-22eb09728de90479f49f09925c4d223677c56a06.tar
nixpkgs-22eb09728de90479f49f09925c4d223677c56a06.tar.gz
nixpkgs-22eb09728de90479f49f09925c4d223677c56a06.tar.bz2
nixpkgs-22eb09728de90479f49f09925c4d223677c56a06.tar.lz
nixpkgs-22eb09728de90479f49f09925c4d223677c56a06.tar.xz
nixpkgs-22eb09728de90479f49f09925c4d223677c56a06.tar.zst
nixpkgs-22eb09728de90479f49f09925c4d223677c56a06.zip
handlr: 0.6.4 -> unstable-2021-08-29
the main thing this fixes is crash on read-only mimeapps therefore
making handlr usable with a home-manager managed mimeapps.list
Diffstat (limited to 'pkgs/tools/misc/handlr')
-rw-r--r--pkgs/tools/misc/handlr/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/tools/misc/handlr/default.nix b/pkgs/tools/misc/handlr/default.nix
index e9cd89c5f2d..19f02cdd1b1 100644
--- a/pkgs/tools/misc/handlr/default.nix
+++ b/pkgs/tools/misc/handlr/default.nix
@@ -2,19 +2,19 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "handlr";
-  version = "0.6.4";
+  version = "unstable-2021-08-29";
 
   src = fetchFromGitHub {
     owner = "chmln";
     repo = pname;
-    rev = "v${version}";
-    sha256 = "sha256-UYcJtBwbUDqDiRoj5PmO+urURfd7S7fSx2XhQRBrKTE=";
+    rev = "90e78ba92d0355cb523abf268858f3123fd81238";
+    sha256 = "sha256-wENhlUBwfNg/r7yMKa1cQI1fbFw+qowwK8EdO912Yys=";
   };
 
-  cargoSha256 = "sha256-xDQV8wVlzItz0lzR1nVRPVsg7nSf/khUhevDlGgSO3g=";
+  cargoSha256 = "sha256-30fSOzWq1CoIabPWGWndi/SaCN/ckxjlbtzuwV8rk6M=";
 
   nativeBuildInputs = [ installShellFiles shared-mime-info ];
-  buildInputs = lib.optional stdenv.isDarwin libiconv;
+  buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
 
   preCheck = ''
     export HOME=$TEMPDIR
@@ -23,6 +23,7 @@ rustPlatform.buildRustPackage rec {
   postInstall = ''
     installShellCompletion \
       --zsh  completions/_handlr \
+      --bash  completions/handlr \
       --fish completions/handlr.fish
   '';
 
@@ -30,6 +31,6 @@ rustPlatform.buildRustPackage rec {
     description = "Alternative to xdg-open to manage default applications with ease";
     homepage = "https://github.com/chmln/handlr";
     license = licenses.mit;
-    maintainers = with maintainers; [ mredaelli ];
+    maintainers = with maintainers; [ mredaelli artturin ];
   };
 }