summary refs log tree commit diff
path: root/pkgs/tools/text/sift/default.nix
blob: 9a93b64e3693e9d0009dac40d6ede9631b8438f0 (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
26
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "sift-${version}";
  version = "0.8.0";
  rev = "v${version}";

  goPackagePath = "github.com/svent/sift";

  src = fetchFromGitHub {
    inherit rev;
    owner = "svent";
    repo = "sift";
    sha256 = "1nb042k420xr6000ipwhqn41vg8jfp6ghq4z7y1sjnndkrhclzm1";
  };

  goDeps = ./deps.json;

  meta = with lib; {
    description = "sift is a fast and powerful alternative to grep";
    homepage = "https://sift-tool.org";
    maintainers = [ maintainers.carlsverre ];
    license = licenses.gpl3;
    platforms = platforms.linux;
  };
}