3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/peco/default.nix

29 lines
756 B
Nix
Raw Normal View History

2017-09-29 18:23:01 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
2017-09-29 18:23:01 +01:00
buildGoPackage rec {
pname = "peco";
2018-07-12 21:03:06 +01:00
version = "0.5.3";
2017-09-29 18:23:01 +01:00
goPackagePath = "github.com/peco/peco";
subPackages = [ "cmd/peco" ];
2017-09-29 18:23:01 +01:00
src = fetchFromGitHub {
owner = "peco";
repo = "peco";
rev = "v${version}";
2018-07-12 21:03:06 +01:00
sha256 = "1m3s1jrrhqccgg3frfnq6iprwwi97j13wksckpcyrg51z6y5q041";
2017-09-29 18:23:01 +01:00
};
2017-09-29 18:23:01 +01:00
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "Simplistic interactive filtering tool";
homepage = "https://github.com/peco/peco";
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 21:03:06 +01:00
maintainers = with maintainers; [ pSub ];
};
}