summary refs log tree commit diff
path: root/pkgs/applications/misc/gofu/default.nix
blob: ea3cbde3adb7d729988ad30976a664ac00843628 (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
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "gofu";
  version = "unstable-2022-04-01";

  src = fetchFromGitHub {
    owner = "majewsky";
    repo = pname;
    rev = "be0e424eecec3fec19ba3518f8fd1bb07b6908dc";
    sha256 = "sha256-jMOmvCsuRtL9EgPicdNEksVgFepL/JZA53o2wzr8uzQ=";
  };

  vendorSha256 = null;

  subPackages = [ "." ];

  postInstall = ''
    ln -s $out/bin/gofu $out/bin/rtree
    ln -s $out/bin/gofu $out/bin/prettyprompt
  '';

  meta = with lib; {
    description = "Multibinary containing several utilities";
    homepage = "https://github.com/majewsky/gofu";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}