nixpkgs/pkgs/tools/text/sift/default.nix

26 lines
557 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "sift";
2018-02-14 21:34:31 +00:00
version = "0.9.0";
rev = "v${version}";
goPackagePath = "github.com/svent/sift";
src = fetchFromGitHub {
inherit rev;
owner = "svent";
repo = "sift";
2018-02-14 21:34:31 +00:00
sha256 = "0bgy0jf84z1c3msvb60ffj4axayfchdkf0xjnsbx9kad1v10g7i1";
};
goDeps = ./deps.nix;
meta = with lib; {
description = "A fast and powerful alternative to grep";
homepage = "https://sift-tool.org";
maintainers = [ maintainers.carlsverre ];
license = licenses.gpl3;
};
}