diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2021-04-24 17:54:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-24 17:54:08 +0200 |
commit | 192ae8f46a259249e7baf54aed8233fa5f519e6b (patch) | |
tree | 4b1c36bfda7b8f42948c115bd39b9df1da026670 | |
parent | 9f485497624f61a1b1e76aaa22306e8521289bdf (diff) | |
parent | 49155acb742d6fcffd7acc971053dfed92b12547 (diff) |
Merge pull request #120474 from mweinelt/handlr
handlr: 0.5.0 -> 0.6.1
-rw-r--r-- | pkgs/tools/misc/handlr/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/tools/misc/handlr/default.nix b/pkgs/tools/misc/handlr/default.nix index 1d825c866c479..978168d367640 100644 --- a/pkgs/tools/misc/handlr/default.nix +++ b/pkgs/tools/misc/handlr/default.nix @@ -1,20 +1,23 @@ -{ lib, rustPlatform, fetchFromGitHub }: +{ lib, rustPlatform, fetchFromGitHub, shared-mime-info }: rustPlatform.buildRustPackage rec { pname = "handlr"; - version = "0.5.0"; + version = "0.6.1"; src = fetchFromGitHub { owner = "chmln"; repo = pname; rev = "v${version}"; - sha256 = "1f4gmlqzgw1r8n0w9dr9lpsn94f2hlnak9bbq5xgf6jwgc9mwqzg"; + sha256 = "0mxkirsicagvfyihcb06g2bsz5h0zp7xc87vldp4amgddzaxhpbg"; }; - cargoSha256 = "16d4dywwkgvvxw6ninrx87rqhx0whdq3yy01m27qjy4gz6z6ad8p"; + cargoSha256 = "11glh6f0cjrq76212h80na2rgwpzjmk0j78y3i98nv203rkrczid"; - # Most tests fail (at least some due to directory permissions) - doCheck = false; + nativeBuildInputs = [ shared-mime-info ]; + + preCheck = '' + export HOME=$TEMPDIR + ''; meta = with lib; { description = "Alternative to xdg-open to manage default applications with ease"; |