2021-09-11 19:03:48 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gofu";
|
2023-07-04 04:41:06 +02:00
|
|
|
version = "unstable-2023-04-25";
|
2021-09-11 19:03:48 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "majewsky";
|
|
|
|
repo = pname;
|
2023-07-04 04:41:06 +02:00
|
|
|
rev = "f308ca92d1631e579fbfe3b3da13c93709dc18a2";
|
|
|
|
hash = "sha256-8c/Z+44gX7diAhXq8sHOqISoGhYdFA7VUYn7eNMCYxY=";
|
2021-09-11 19:03:48 +02:00
|
|
|
};
|
|
|
|
|
2023-07-04 04:41:06 +02:00
|
|
|
vendorHash = null;
|
2021-09-11 19:03:48 +02:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2021-09-20 11:17:47 +02:00
|
|
|
postInstall = ''
|
|
|
|
ln -s $out/bin/gofu $out/bin/rtree
|
|
|
|
ln -s $out/bin/gofu $out/bin/prettyprompt
|
|
|
|
'';
|
|
|
|
|
2021-09-11 19:03:48 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Multibinary containing several utilities";
|
|
|
|
homepage = "https://github.com/majewsky/gofu";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|