2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
2014-08-03 13:26:06 +00:00
|
|
|
|
2017-09-29 17:23:01 +00:00
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "peco";
|
2018-07-12 20:03:06 +00:00
|
|
|
version = "0.5.3";
|
2014-08-03 13:26:06 +00:00
|
|
|
|
2017-09-29 17:23:01 +00:00
|
|
|
goPackagePath = "github.com/peco/peco";
|
|
|
|
subPackages = [ "cmd/peco" ];
|
2014-08-03 13:26:06 +00:00
|
|
|
|
2017-09-29 17:23:01 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "peco";
|
|
|
|
repo = "peco";
|
|
|
|
rev = "v${version}";
|
2018-07-12 20:03:06 +00:00
|
|
|
sha256 = "1m3s1jrrhqccgg3frfnq6iprwwi97j13wksckpcyrg51z6y5q041";
|
2017-09-29 17:23:01 +00:00
|
|
|
};
|
2014-08-03 13:26:06 +00:00
|
|
|
|
2017-09-29 17:23:01 +00:00
|
|
|
goDeps = ./deps.nix;
|
2014-08-03 13:26:06 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-08-03 13:26:06 +00:00
|
|
|
description = "Simplistic interactive filtering tool";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/peco/peco";
|
2014-08-03 13:26:06 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
# peco should work on Windows or other POSIX platforms, but the go package
|
|
|
|
# declares only linux and darwin.
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2018-07-12 20:03:06 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2014-08-03 13:26:06 +00:00
|
|
|
};
|
|
|
|
}
|