lol
1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "gofu";
5 version = "unstable-2023-04-25";
6
7 src = fetchFromGitHub {
8 owner = "majewsky";
9 repo = pname;
10 rev = "f308ca92d1631e579fbfe3b3da13c93709dc18a2";
11 hash = "sha256-8c/Z+44gX7diAhXq8sHOqISoGhYdFA7VUYn7eNMCYxY=";
12 };
13
14 vendorHash = null;
15
16 subPackages = [ "." ];
17
18 postInstall = ''
19 ln -s $out/bin/gofu $out/bin/rtree
20 ln -s $out/bin/gofu $out/bin/prettyprompt
21 '';
22
23 meta = with lib; {
24 description = "Multibinary containing several utilities";
25 homepage = "https://github.com/majewsky/gofu";
26 license = licenses.gpl3Plus;
27 maintainers = with maintainers; [ SuperSandro2000 ];
28 };
29}