nixpkgs/pkgs/tools/text/peco/default.nix

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

27 lines
678 B
Nix
Raw Normal View History

2021-01-16 04:20:00 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2021-01-16 04:20:00 +00:00
buildGoModule rec {
pname = "peco";
2023-04-11 06:09:25 +00:00
version = "0.5.11";
2017-09-29 17:23:01 +00:00
subPackages = [ "cmd/peco" ];
2017-09-29 17:23:01 +00:00
src = fetchFromGitHub {
owner = "peco";
repo = "peco";
rev = "v${version}";
2023-04-11 06:09:25 +00:00
sha256 = "sha256-OVUfeNpnmuJsgD//JTn6n9n4oOBxep69LhIpHX+ru2w=";
2017-09-29 17:23:01 +00:00
};
2023-04-11 06:09:25 +00:00
vendorHash = "sha256-+HQz7UUgATdgSWlI1dg2DdQRUSke9MyAtXgLikFhF90=";
meta = with lib; {
description = "Simplistic interactive filtering tool";
mainProgram = "peco";
homepage = "https://github.com/peco/peco";
2021-01-16 04:20:00 +00:00
changelog = "https://github.com/peco/peco/blob/v${version}/Changes";
license = licenses.mit;
2018-07-12 20:03:06 +00:00
maintainers = with maintainers; [ pSub ];
};
}