nixpkgs/pkgs/by-name/su/superfile/package.nix
2024-08-01 16:41:36 -03:00

30 lines
727 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "superfile";
version = "1.1.4";
src = fetchFromGitHub {
owner = "yorukot";
repo = "superfile";
rev = "v${version}";
hash = "sha256-ajLlXySf/YLHrwwacV5yIF8qU5pKvEoOwpDoxh49qaU=";
};
vendorHash = "sha256-vybe4KNj6ZhvXRTiN7e5+IhOewfK5L2jKPrcdCYGc4k=";
ldflags = ["-s" "-w"];
meta = with lib; {
description = "Pretty fancy and modern terminal file manager";
homepage = "https://github.com/yorukot/superfile";
changelog = "https://github.com/yorukot/superfile/blob/${src.rev}/changelog.md";
license = licenses.mit;
maintainers = with maintainers; [momeemt redyf];
mainProgram = "superfile";
};
}