depot/pkgs/applications/misc/gofu/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

29 lines
700 B
Nix

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