main
 1{
 2  lib,
 3  rustPlatform,
 4  fetchFromGitHub,
 5  nix-update-script,
 6}:
 7rustPlatform.buildRustPackage (finalAttrs: {
 8  pname = "elio";
 9  version = "1.14.0";
10
11  src = fetchFromGitHub {
12    owner = "elio-fm";
13    repo = "elio";
14    tag = "v${finalAttrs.version}";
15    hash = "sha256-E4MEr/Hz7CJvnbqTyrf+rVp9CCJLJN7hWRW+DHNCavg=";
16  };
17
18  cargoHash = "sha256-Ejk1CJxjKljIhf/Fa12LYCzeubzZ7HGNAh9eo1dK/9I=";
19  doCheck = false;
20
21  passthru.updateScript = nix-update-script {};
22
23  meta = {
24    description = "Snappy, batteries-included terminal file manager with rich previews, inline images, bulk actions, and trash support";
25    homepage = "https://github.com/elio-fm/elio";
26    license = lib.licenses.mit;
27    mainProgram = "elio";
28    platforms = lib.platforms.linux;
29  };
30})