build-bazel-package: added rm of extra local folders for toolchain configuration...
[NixPkgs.git] / pkgs / by-name / go / gofu / package.nix
blob012d20bc8e642a41e1a24a272d0244502fd18068
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "gofu";
9   version = "unstable-2023-04-25";
11   src = fetchFromGitHub {
12     owner = "majewsky";
13     repo = pname;
14     rev = "f308ca92d1631e579fbfe3b3da13c93709dc18a2";
15     hash = "sha256-8c/Z+44gX7diAhXq8sHOqISoGhYdFA7VUYn7eNMCYxY=";
16   };
18   vendorHash = null;
20   subPackages = [ "." ];
22   postInstall = ''
23     ln -s $out/bin/gofu $out/bin/rtree
24     ln -s $out/bin/gofu $out/bin/prettyprompt
25   '';
27   meta = with lib; {
28     description = "Multibinary containing several utilities";
29     homepage = "https://github.com/majewsky/gofu";
30     license = licenses.gpl3Plus;
31     maintainers = with maintainers; [ SuperSandro2000 ];
32   };