Merge pull request #16500 from carlsverre/add/sift

sift: init at 0.8.0

zimbatm 8f5184be 3c1a5c9e

Changed files
+57
lib
pkgs
development
go-modules
tools
top-level
+1
lib/maintainers.nix
···
c0dehero = "CodeHero <codehero@nerdpol.ch>";
calrama = "Moritz Maxeiner <moritz@ucworks.org>";
campadrenalin = "Philip Horger <campadrenalin@gmail.com>";
+
carlsverre = "Carl Sverre <accounts@carlsverre.com>";
cdepillabout = "Dennis Gosnell <cdep.illabout@gmail.com>";
cfouche = "Chaddaï Fouché <chaddai.fouche@gmail.com>";
chaoflow = "Florian Friesdorf <flo@chaoflow.net>";
+18
pkgs/development/go-modules/libs.json
···
"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"
+
}
+26
pkgs/tools/text/sift/default.nix
···
+
{ 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;
+
};
+
}
+10
pkgs/tools/text/sift/deps.json
···
+
[
+
{
+
"include": "../../libs.json",
+
"packages": [
+
"github.com/svent/go-flags",
+
"github.com/svent/go-nbreader",
+
"golang.org/x/crypto"
+
]
+
}
+
]
+2
pkgs/top-level/all-packages.nix
···
spectrojack = callPackage ../applications/audio/spectrojack { };
+
sift = callPackage ../tools/text/sift { };
+
xlockmore = callPackage ../misc/screensavers/xlockmore { };
xtrlock-pam = callPackage ../misc/screensavers/xtrlock-pam { };