mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
2bcf92ae42
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/57j66n7s9hxkrgbzvgxvrbvab1ipgakz-peco-0.5.2-bin/bin/peco -h` got 0 exit code - ran `/nix/store/57j66n7s9hxkrgbzvgxvrbvab1ipgakz-peco-0.5.2-bin/bin/peco --help` got 0 exit code - ran `/nix/store/57j66n7s9hxkrgbzvgxvrbvab1ipgakz-peco-0.5.2-bin/bin/peco --version` and found version 0.5.2 - found 0.5.2 with grep in /nix/store/57j66n7s9hxkrgbzvgxvrbvab1ipgakz-peco-0.5.2-bin - found 0.5.2 in filename of file in /nix/store/57j66n7s9hxkrgbzvgxvrbvab1ipgakz-peco-0.5.2-bin cc "@ehmry @lethalman"
28 lines
718 B
Nix
28 lines
718 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "peco-${version}";
|
|
version = "0.5.2";
|
|
|
|
goPackagePath = "github.com/peco/peco";
|
|
subPackages = [ "cmd/peco" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "peco";
|
|
repo = "peco";
|
|
rev = "v${version}";
|
|
sha256 = "0cgfwbnz4jp2nvmqf2i03xf69by8g0xgd3k5k9aj46y9hps1ka92";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|