2021-09-18 10:52:07 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gofu";
|
2022-04-03 18:54:34 +00:00
|
|
|
version = "unstable-2022-04-01";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "majewsky";
|
|
|
|
repo = pname;
|
2022-04-03 18:54:34 +00:00
|
|
|
rev = "be0e424eecec3fec19ba3518f8fd1bb07b6908dc";
|
|
|
|
sha256 = "sha256-jMOmvCsuRtL9EgPicdNEksVgFepL/JZA53o2wzr8uzQ=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2021-09-22 15:38:15 +00:00
|
|
|
postInstall = ''
|
|
|
|
ln -s $out/bin/gofu $out/bin/rtree
|
|
|
|
ln -s $out/bin/gofu $out/bin/prettyprompt
|
|
|
|
'';
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Multibinary containing several utilities";
|
|
|
|
homepage = "https://github.com/majewsky/gofu";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|