2018-07-21 01:44:44 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-25 18:57:11 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "sift";
|
2018-02-14 21:34:31 +00:00
|
|
|
version = "0.9.0";
|
2016-06-25 18:57:11 +01:00
|
|
|
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";
|
2016-06-25 18:57:11 +01:00
|
|
|
};
|
|
|
|
|
2016-09-10 11:04:13 +01:00
|
|
|
goDeps = ./deps.nix;
|
2016-06-25 18:57:11 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "sift is a fast and powerful alternative to grep";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://sift-tool.org;
|
2016-06-25 18:57:11 +01:00
|
|
|
maintainers = [ maintainers.carlsverre ];
|
|
|
|
license = licenses.gpl3;
|
2017-05-17 01:56:35 +01:00
|
|
|
platforms = platforms.all;
|
2016-06-25 18:57:11 +01:00
|
|
|
};
|
|
|
|
}
|