uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
31
pkgs/tools/text/sift/default.nix
Normal file
31
pkgs/tools/text/sift/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "sift";
|
||||
version = "0.9.0";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/svent/sift";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "svent";
|
||||
repo = "sift";
|
||||
sha256 = "0bgy0jf84z1c3msvb60ffj4axayfchdkf0xjnsbx9kad1v10g7i1";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd sift --bash go/src/github.com/svent/sift/sift-completion.bash
|
||||
'';
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A fast and powerful alternative to grep";
|
||||
homepage = "https://sift-tool.org";
|
||||
maintainers = with maintainers; [ carlsverre viraptor ];
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
}
|
||||
29
pkgs/tools/text/sift/deps.nix
generated
Normal file
29
pkgs/tools/text/sift/deps.nix
generated
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "golang.org/x/crypto";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/crypto";
|
||||
rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6";
|
||||
sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa";
|
||||
};
|
||||
}
|
||||
{
|
||||
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";
|
||||
};
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue