commit
192ae8f46a
|
@ -1,20 +1,23 @@
|
||||||
{ lib, rustPlatform, fetchFromGitHub }:
|
{ lib, rustPlatform, fetchFromGitHub, shared-mime-info }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "handlr";
|
pname = "handlr";
|
||||||
version = "0.5.0";
|
version = "0.6.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "chmln";
|
owner = "chmln";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1f4gmlqzgw1r8n0w9dr9lpsn94f2hlnak9bbq5xgf6jwgc9mwqzg";
|
sha256 = "0mxkirsicagvfyihcb06g2bsz5h0zp7xc87vldp4amgddzaxhpbg";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "16d4dywwkgvvxw6ninrx87rqhx0whdq3yy01m27qjy4gz6z6ad8p";
|
cargoSha256 = "11glh6f0cjrq76212h80na2rgwpzjmk0j78y3i98nv203rkrczid";
|
||||||
|
|
||||||
# Most tests fail (at least some due to directory permissions)
|
nativeBuildInputs = [ shared-mime-info ];
|
||||||
doCheck = false;
|
|
||||||
|
preCheck = ''
|
||||||
|
export HOME=$TEMPDIR
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Alternative to xdg-open to manage default applications with ease";
|
description = "Alternative to xdg-open to manage default applications with ease";
|
||||||
|
|
Loading…
Reference in New Issue