about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/text/peco/default.nix
blob: 2928d5322072c40953e190566956c201320c128c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "peco";
  version = "0.5.8";

  subPackages = [ "cmd/peco" ];

  src = fetchFromGitHub {
    owner = "peco";
    repo = "peco";
    rev = "v${version}";
    sha256 = "12xbqisk7bcy38fmjxcs069a0600gncbqzscqw6x37lgw6hlw52x";
  };

  vendorSha256 = "1p8pc50ql2vqnn0crx0y558i3m0d6vcdaj3995h3f0908pnk6x7q";

  meta = with lib; {
    description = "Simplistic interactive filtering tool";
    homepage = "https://github.com/peco/peco";
    changelog = "https://github.com/peco/peco/blob/v${version}/Changes";
    license = licenses.mit;
    maintainers = with maintainers; [ pSub ];
  };
}