aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/text/sift/default.nix
blob: 5a36de5f72028be2759a56611cc7fde92cf9a0d2 (plain)
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
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "sift";
  version = "0.9.0";
  rev = "v${version}";

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

  src = fetchFromGitHub {
    inherit rev;
    owner = "svent";
    repo = "sift";
    sha256 = "0bgy0jf84z1c3msvb60ffj4axayfchdkf0xjnsbx9kad1v10g7i1";
  };

  goDeps = ./deps.nix;

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