diff options
author | Carl Sverre <accounts@carlsverre.com> | 2016-06-25 10:57:11 -0700 |
---|---|---|
committer | Carl Sverre <accounts@carlsverre.com> | 2016-06-25 14:10:34 -0700 |
commit | a12ec263fabd1fa35fd1085c35a5d713b2d1e381 (patch) | |
tree | a32be658f6a4f84286c58c6f00c25f4769a5755a /pkgs | |
parent | 9ef6dceca9c050c1b2477d6d7b28921afe06df2e (diff) | |
download | nixpkgs-a12ec263fabd1fa35fd1085c35a5d713b2d1e381.tar nixpkgs-a12ec263fabd1fa35fd1085c35a5d713b2d1e381.tar.gz nixpkgs-a12ec263fabd1fa35fd1085c35a5d713b2d1e381.tar.bz2 nixpkgs-a12ec263fabd1fa35fd1085c35a5d713b2d1e381.tar.lz nixpkgs-a12ec263fabd1fa35fd1085c35a5d713b2d1e381.tar.xz nixpkgs-a12ec263fabd1fa35fd1085c35a5d713b2d1e381.tar.zst nixpkgs-a12ec263fabd1fa35fd1085c35a5d713b2d1e381.zip |
sift: init at 0.8.0
sift is a fast and powerful alternative to grep. https://sift-tool.org
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/go-modules/libs.json | 18 | ||||
-rw-r--r-- | pkgs/tools/text/sift/default.nix | 26 | ||||
-rw-r--r-- | pkgs/tools/text/sift/deps.json | 10 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
4 files changed, 56 insertions, 0 deletions
diff --git a/pkgs/development/go-modules/libs.json b/pkgs/development/go-modules/libs.json index c7fcf72f143..3dcd53a124b 100644 --- a/pkgs/development/go-modules/libs.json +++ b/pkgs/development/go-modules/libs.json @@ -1546,5 +1546,23 @@ "rev": "772320464101e904cd51198160eb4d489be9cc49", "sha256": "1a8hnh2k3vc3prjhnz4rjbiwhqq6r3mi18h9cdb6fc6s6yzjc19j" } + }, + { + "goPackagePath": "github.com/svent/go-flags", + "fetch": { + "type": "git", + "url": "https://github.com/svent/go-flags", + "rev": "4bcbad344f0318adaf7aabc16929701459009aa3", + "sha256": "1gb416fgxl9gq4q6wsv3i2grq1mzbi7lvfvmfdqbxqbv9vizzh34" + } + }, + { + "goPackagePath": "github.com/svent/go-nbreader", + "fetch": { + "type": "git", + "url": "https://github.com/svent/go-nbreader", + "rev": "7cef48da76dca6a496faa7fe63e39ed665cbd219", + "sha256": "0hw11jj5r3f6qwydg41nc3c6aadlbkhc1qpxra2609lis0qa9h4r" + } } ] diff --git a/pkgs/tools/text/sift/default.nix b/pkgs/tools/text/sift/default.nix new file mode 100644 index 00000000000..459334e2b3c --- /dev/null +++ b/pkgs/tools/text/sift/default.nix @@ -0,0 +1,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.all; + }; +} diff --git a/pkgs/tools/text/sift/deps.json b/pkgs/tools/text/sift/deps.json new file mode 100644 index 00000000000..649660353ad --- /dev/null +++ b/pkgs/tools/text/sift/deps.json @@ -0,0 +1,10 @@ +[ + { + "include": "../../libs.json", + "packages": [ + "github.com/svent/go-flags", + "github.com/svent/go-nbreader", + "golang.org/x/crypto" + ] + } +] diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2d998e348f8..852947d547f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16827,6 +16827,8 @@ in spectrojack = callPackage ../applications/audio/spectrojack { }; + sift = callPackage ../tools/text/sift { }; + xlockmore = callPackage ../misc/screensavers/xlockmore { }; xtrlock-pam = callPackage ../misc/screensavers/xtrlock-pam { }; |