Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / gofu / default.nix
blobabe811d74858e66569a6dae7d3463f5fb98df03a
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "gofu";
5   version = "unstable-2023-04-25";
7   src = fetchFromGitHub {
8     owner = "majewsky";
9     repo = pname;
10     rev = "f308ca92d1631e579fbfe3b3da13c93709dc18a2";
11     hash = "sha256-8c/Z+44gX7diAhXq8sHOqISoGhYdFA7VUYn7eNMCYxY=";
12   };
14   vendorHash = null;
16   subPackages = [ "." ];
18   postInstall = ''
19     ln -s $out/bin/gofu $out/bin/rtree
20     ln -s $out/bin/gofu $out/bin/prettyprompt
21   '';
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   };