2024-02-24 19:51:16 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
finalAttrs = {
|
|
|
|
pname = "fm";
|
2024-04-17 15:49:15 +02:00
|
|
|
version = "1.1.0";
|
2024-02-24 19:51:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mistakenelf";
|
|
|
|
repo = "fm";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-04-17 15:49:15 +02:00
|
|
|
hash = "sha256-m0hjLXgaScJydwiV00b8W7f1y1Ka7bbYqcMPAOw1j+c=";
|
2024-02-24 19:51:16 +01:00
|
|
|
};
|
|
|
|
|
2024-04-17 15:49:15 +02:00
|
|
|
vendorHash = "sha256-/tUL08Vo3W7PMPAnJA9RPdMl0AwZj8BzclYs2257nqM=";
|
2024-02-24 19:51:16 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/mistakenelf/fm";
|
|
|
|
description = "Terminal based file manager";
|
|
|
|
changelog = "https://github.com/mistakenelf/fm/releases/tag/${finalAttrs.src.rev}";
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
mainProgram = "fm";
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
buildGoModule finalAttrs
|