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