nixpkgs/pkgs/applications/misc/gofu/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
700 B
Nix
Raw Normal View History

2021-09-11 19:03:48 +02:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gofu";
version = "unstable-2023-04-25";
2021-09-11 19:03:48 +02:00
src = fetchFromGitHub {
owner = "majewsky";
repo = pname;
rev = "f308ca92d1631e579fbfe3b3da13c93709dc18a2";
hash = "sha256-8c/Z+44gX7diAhXq8sHOqISoGhYdFA7VUYn7eNMCYxY=";
2021-09-11 19:03:48 +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 ];
};
}