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

26 lines
655 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";
2021-01-16 04:20:00 +00:00
version = "0.5.8";
2017-09-29 18:23:01 +01:00
subPackages = [ "cmd/peco" ];
2017-09-29 18:23:01 +01:00
src = fetchFromGitHub {
owner = "peco";
repo = "peco";
rev = "v${version}";
2021-01-16 04:20:00 +00:00
sha256 = "12xbqisk7bcy38fmjxcs069a0600gncbqzscqw6x37lgw6hlw52x";
2017-09-29 18:23:01 +01:00
};
2021-01-16 04:20:00 +00:00
vendorSha256 = "1p8pc50ql2vqnn0crx0y558i3m0d6vcdaj3995h3f0908pnk6x7q";
meta = with lib; {
description = "Simplistic interactive filtering tool";
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 21:03:06 +01:00
maintainers = with maintainers; [ pSub ];
};
}