about summary refs log tree commit diff
path: root/pkgs/by-name/su/superfile/package.nix
blob: 21abce75d3d0f69d5c8f76eb4f59b9f8932589ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:
let
  version = "1.1.2";
in
buildGoModule {
  pname = "superfile";
  inherit version;

  src =
    fetchFromGitHub {
      owner = "MHNightCat";
      repo = "superfile";
      rev = "v${version}";
      hash = "sha256-Cn03oPGT+vCZQcC62p7COx8N8BGgra+qQaZyF+osVsA=";
    }
    + "/src";

  vendorHash = "sha256-gWrhy3qzlXG072u5mW971N2Y4Vmt0KbZkB8SFsFgSzo=";

  meta = {
    changelog = "https://github.com/MHNightCat/superfile/blob/v${version}/changelog.md";
    description = "Pretty fancy and modern terminal file manager";
    homepage = "https://github.com/MHNightCat/superfile";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ momeemt ];
    mainProgram = "superfile";
  };
}