treewide: vendorSha256 -> vendorHash (#256514)

This commit is contained in:
Aaron Jheng
2023-09-22 01:11:11 +08:00
committed by GitHub
parent a36cc31cd6
commit d38485921a
99 changed files with 102 additions and 102 deletions

View File

@@ -1428,7 +1428,7 @@ self: super: {
hexokinase = buildGoModule { hexokinase = buildGoModule {
name = "hexokinase"; name = "hexokinase";
src = old.src + "/hexokinase"; src = old.src + "/hexokinase";
vendorSha256 = null; vendorHash = null;
}; };
in in
'' ''

View File

@@ -21,7 +21,7 @@ buildGoModule rec {
installShellCompletion scripts/cheat.{bash,fish,zsh} installShellCompletion scripts/cheat.{bash,fish,zsh}
''; '';
vendorSha256 = null; vendorHash = null;
doCheck = false; doCheck = false;

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-NAw1uoBL/FnNLJ86L9aBCOY65aJn1DDGK0Cd0IO2kr0="; sha256 = "sha256-NAw1uoBL/FnNLJ86L9aBCOY65aJn1DDGK0Cd0IO2kr0=";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View File

@@ -16,7 +16,7 @@ buildGoModule rec {
# #
# Ref <https://github.com/NixOS/nixpkgs/pull/87383#issuecomment-633204382> # Ref <https://github.com/NixOS/nixpkgs/pull/87383#issuecomment-633204382>
# and <https://github.com/NixOS/nixpkgs/blob/d4226e3a4b5fcf988027147164e86665d382bbfa/pkgs/development/go-modules/generic/default.nix#L18> # and <https://github.com/NixOS/nixpkgs/blob/d4226e3a4b5fcf988027147164e86665d382bbfa/pkgs/development/go-modules/generic/default.nix#L18>
vendorSha256 = null; vendorHash = null;
doCheck = false; doCheck = false;

View File

@@ -12,7 +12,7 @@ buildGoModule rec {
}; };
proxyVendor = true; proxyVendor = true;
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "0v3j7rw917wnmp4lyjscqzk4qf4azfiz70ynbq3wl4gwp1m783vv"; sha256 = "0v3j7rw917wnmp4lyjscqzk4qf4azfiz70ynbq3wl4gwp1m783vv";
}; };
vendorSha256 = null; vendorHash = null;
nativeBuildInputs = [ git ]; nativeBuildInputs = [ git ];
meta = with lib; { meta = with lib; {

View File

@@ -12,7 +12,7 @@ buildGoModule rec {
}; };
# Upstream has a `./vendor` directory with all deps which we rely upon. # Upstream has a `./vendor` directory with all deps which we rely upon.
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" "-X main.version=${version}" ]; ldflags = [ "-s" "-w" "-X main.version=${version}" ];

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-GGBW6rpwv1bVbLTD//cU8jNbq/27Ls0su7DymCJTSmY="; sha256 = "sha256-GGBW6rpwv1bVbLTD//cU8jNbq/27Ls0su7DymCJTSmY=";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "Simple GTD-style todo list for the command line"; description = "Simple GTD-style todo list for the command line";

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
hash = "sha256-hNZqGTV17rFSKLhZzNqH2E4SSb6Jhk7YQ4TN0HnE+9g="; hash = "sha256-hNZqGTV17rFSKLhZzNqH2E4SSb6Jhk7YQ4TN0HnE+9g=";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "Inspect the plaintext payload inside of proxied TLS connections"; description = "Inspect the plaintext payload inside of proxied TLS connections";

View File

@@ -15,7 +15,7 @@ buildGoModule rec {
sha256 = "0gi39jmnzqrgj146yw8lcmgmvzx7ii1dgw4iqig7kx8c0jiqi600"; sha256 = "0gi39jmnzqrgj146yw8lcmgmvzx7ii1dgw4iqig7kx8c0jiqi600";
}; };
vendorSha256 = null; vendorHash = null;
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View File

@@ -12,7 +12,7 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
vendorSha256 = null; vendorHash = null;
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];

View File

@@ -22,7 +22,7 @@ buildGoModule rec {
wrapProgram $out/bin/dnsname --prefix PATH : ${lib.makeBinPath [ dnsmasq ]} wrapProgram $out/bin/dnsname --prefix PATH : ${lib.makeBinPath [ dnsmasq ]}
''; '';
vendorSha256 = null; vendorHash = null;
subPackages = [ "plugins/meta/dnsname" ]; subPackages = [ "plugins/meta/dnsname" ];
doCheck = false; # NOTE: requires root privileges doCheck = false; # NOTE: requires root privileges

View File

@@ -117,7 +117,7 @@ let
k3sCNIPlugins = buildGoModule rec { k3sCNIPlugins = buildGoModule rec {
pname = "k3s-cni-plugins"; pname = "k3s-cni-plugins";
version = k3sCNIVersion; version = k3sCNIVersion;
vendorSha256 = null; vendorHash = null;
subPackages = [ "." ]; subPackages = [ "." ];
@@ -210,7 +210,7 @@ let
rev = "v${containerdVersion}"; rev = "v${containerdVersion}";
sha256 = containerdSha256; sha256 = containerdSha256;
}; };
vendorSha256 = null; vendorHash = null;
buildInputs = [ btrfs-progs ]; buildInputs = [ btrfs-progs ];
subPackages = [ "cmd/containerd" "cmd/containerd-shim-runc-v2" ]; subPackages = [ "cmd/containerd" "cmd/containerd-shim-runc-v2" ];
ldflags = versionldflags; ldflags = versionldflags;

View File

@@ -116,7 +116,7 @@ let
k3sCNIPlugins = buildGoModule rec { k3sCNIPlugins = buildGoModule rec {
pname = "k3s-cni-plugins"; pname = "k3s-cni-plugins";
version = k3sCNIVersion; version = k3sCNIVersion;
vendorSha256 = null; vendorHash = null;
subPackages = [ "." ]; subPackages = [ "." ];
@@ -208,7 +208,7 @@ let
rev = "v${containerdVersion}"; rev = "v${containerdVersion}";
sha256 = containerdSha256; sha256 = containerdSha256;
}; };
vendorSha256 = null; vendorHash = null;
buildInputs = [ btrfs-progs ]; buildInputs = [ btrfs-progs ];
subPackages = [ "cmd/containerd" "cmd/containerd-shim-runc-v2" ]; subPackages = [ "cmd/containerd" "cmd/containerd-shim-runc-v2" ];
ldflags = versionldflags; ldflags = versionldflags;

View File

@@ -129,7 +129,7 @@ let
k3sCNIPlugins = buildGoModule rec { k3sCNIPlugins = buildGoModule rec {
pname = "k3s-cni-plugins"; pname = "k3s-cni-plugins";
version = k3sCNIVersion; version = k3sCNIVersion;
vendorSha256 = null; vendorHash = null;
subPackages = [ "." ]; subPackages = [ "." ];
@@ -226,7 +226,7 @@ let
rev = "v${containerdVersion}"; rev = "v${containerdVersion}";
sha256 = containerdSha256; sha256 = containerdSha256;
}; };
vendorSha256 = null; vendorHash = null;
buildInputs = [ btrfs-progs ]; buildInputs = [ btrfs-progs ];
subPackages = [ "cmd/containerd-shim-runc-v2" ]; subPackages = [ "cmd/containerd-shim-runc-v2" ];
ldflags = versionldflags; ldflags = versionldflags;

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-alU1c1ppn4cQi582kcA/PIAJJt73i3uG02cQvSYij1A="; sha256 = "sha256-alU1c1ppn4cQi582kcA/PIAJJt73i3uG02cQvSYij1A=";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "This plugin evicts the given pod and is useful for testing pod disruption budget rules"; description = "This plugin evicts the given pod and is useful for testing pod disruption budget rules";

View File

@@ -10,7 +10,7 @@ buildGoModule rec {
rev = "v${version}"; rev = "v${version}";
sha256 = "1fbq7bdhy70hlkklppimgdjamnk0v059pg73xm9ax1f4616ki1m6"; sha256 = "1fbq7bdhy70hlkklppimgdjamnk0v059pg73xm9ax1f4616ki1m6";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "Slack client for your terminal"; description = "Slack client for your terminal";

View File

@@ -14,7 +14,7 @@ let
inherit pname version; inherit pname version;
inherit (kubo-migrator-unwrapped) src; inherit (kubo-migrator-unwrapped) src;
sourceRoot = "${kubo-migrator-unwrapped.src.name}/${pname}"; sourceRoot = "${kubo-migrator-unwrapped.src.name}/${pname}";
vendorSha256 = null; vendorHash = null;
# Fix build on Go 1.17 and later: panic: qtls.ClientHelloInfo doesn't match # Fix build on Go 1.17 and later: panic: qtls.ClientHelloInfo doesn't match
# See https://github.com/ipfs/fs-repo-migrations/pull/163 # See https://github.com/ipfs/fs-repo-migrations/pull/163
postPatch = lib.optionalString (lib.elem pname [ "fs-repo-10-to-11" "fs-repo-11-to-12" ]) '' postPatch = lib.optionalString (lib.elem pname [ "fs-repo-10-to-11" "fs-repo-11-to-12" ]) ''

View File

@@ -27,7 +27,7 @@ buildGoModule rec {
passthru.tests.kubo = nixosTests.kubo; passthru.tests.kubo = nixosTests.kubo;
vendorSha256 = null; vendorHash = null;
outputs = [ "out" "systemd_unit" "systemd_unit_hardened" ]; outputs = [ "out" "systemd_unit" "systemd_unit_hardened" ];

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "sha256-HD5OK8HjnLDbyC/TmVI2HfBRIUCyyHTbA3JvKoeXV5E="; sha256 = "sha256-HD5OK8HjnLDbyC/TmVI2HfBRIUCyyHTbA3JvKoeXV5E=";
}; };
vendorSha256 = null; #vendorSha256 = ""; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "Reconnaissance tool for GitHub code search"; description = "Reconnaissance tool for GitHub code search";

View File

@@ -16,7 +16,7 @@ buildGoModule rec {
hash = "sha256-kLkH/nNidd1QNPKvo7fxZwMhTgd4AVB8Ofw0Wo0z6c0="; hash = "sha256-kLkH/nNidd1QNPKvo7fxZwMhTgd4AVB8Ofw0Wo0z6c0=";
}; };
vendorSha256 = null; vendorHash = null;
passthru.tests.version = testers.testVersion { passthru.tests.version = testers.testVersion {
package = gitls; package = gitls;

View File

@@ -21,7 +21,7 @@ buildGoModule rec{
leaveDotGit = true; leaveDotGit = true;
}; };
vendorSha256 = null; vendorHash = null;
doCheck = false; doCheck = false;

View File

@@ -17,7 +17,7 @@ buildGoModule rec {
sha256 = "0in8kyi4jprvbm3zsl3risbjj8b0ma62yl3rq8rcvcgypx0mn7d4"; sha256 = "0in8kyi4jprvbm3zsl3risbjj8b0ma62yl3rq8rcvcgypx0mn7d4";
}; };
vendorSha256 = null; vendorHash = null;
doCheck = false; doCheck = false;

View File

@@ -20,7 +20,7 @@ buildGoModule {
nativeBuildInputs = [ cmake ninja perl ]; nativeBuildInputs = [ cmake ninja perl ];
vendorSha256 = null; vendorHash = null;
# hack to get both go and cmake configure phase # hack to get both go and cmake configure phase
# (if we use postConfigure then cmake will loop runHook postConfigure) # (if we use postConfigure then cmake will loop runHook postConfigure)

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "sha256-YxIVqPGsqxvOY0Qz4Jw5FuO9IbplCICjChosnHrSCgc="; sha256 = "sha256-YxIVqPGsqxvOY0Qz4Jw5FuO9IbplCICjChosnHrSCgc=";
}; };
vendorSha256 = null; vendorHash = null;
# This package comes with its own version of goimports, gofmt and goreturns # This package comes with its own version of goimports, gofmt and goreturns
# but these binaries are outdated and are offered by other packages. # but these binaries are outdated and are offered by other packages.

View File

@@ -24,7 +24,7 @@ buildGoModule rec {
inherit (sharness) SHARNESS_TEST_SRCDIR; inherit (sharness) SHARNESS_TEST_SRCDIR;
vendorSha256 = null; vendorHash = null;
modRoot = "./src"; modRoot = "./src";
subPackages = [ "." ]; subPackages = [ "." ];

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
hash = "sha256-HkvDJVSGve6t1gEek8FvfIK20r5TOHRJ71KsGUj95fM="; hash = "sha256-HkvDJVSGve6t1gEek8FvfIK20r5TOHRJ71KsGUj95fM=";
}; };
vendorSha256 = null; vendorHash = null;
doCheck = false; doCheck = false;

View File

@@ -13,7 +13,7 @@ buildGoModule rec {
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-V+lHnOmIWjI1qmoJ7+pp+cGmJAtSeY+r2I9zykswQzM="; sha256 = "sha256-V+lHnOmIWjI1qmoJ7+pp+cGmJAtSeY+r2I9zykswQzM=";
}; };
vendorSha256 = null; vendorHash = null;
patchPhase = '' patchPhase = ''
substituteInPlace main.go --replace 0.0.0 ${version} substituteInPlace main.go --replace 0.0.0 ${version}

View File

@@ -15,7 +15,7 @@ buildGoModule rec {
hash = "sha256-wEC9kENcE3u+Mb7uLbx/VBUup6PBnCY5cxTYvkJcavg="; hash = "sha256-wEC9kENcE3u+Mb7uLbx/VBUup6PBnCY5cxTYvkJcavg=";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ ldflags = [
"-w" "-w"

View File

@@ -17,7 +17,7 @@ buildGoModule rec {
sha256 = "sha256-G1/Wbz836yfGZ/1ArICrNbWU6eh4SHXDmo4FKkjUszY="; sha256 = "sha256-G1/Wbz836yfGZ/1ArICrNbWU6eh4SHXDmo4FKkjUszY=";
}; };
vendorSha256 = null; vendorHash = null;
subPackages = "."; subPackages = ".";
buildInputs = lib.optionals stdenv.isDarwin [ OpenGL AppKit ]; buildInputs = lib.optionals stdenv.isDarwin [ OpenGL AppKit ];

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-CoreqnMRuPuv+Ci1uyF3HJCJFwK2jwB79okynv6AHTA="; sha256 = "sha256-CoreqnMRuPuv+Ci1uyF3HJCJFwK2jwB79okynv6AHTA=";
}; };
vendorSha256 = null; vendorHash = null;
nativeCheckInputs = with llvmPackages; [ nativeCheckInputs = with llvmPackages; [
clang clang

View File

@@ -16,7 +16,7 @@ buildGoModule rec {
sha256 = "YAOYrPPKgnjCErq8+iW0Le51clGBv0MJy2Nnn7UVo/s="; sha256 = "YAOYrPPKgnjCErq8+iW0Le51clGBv0MJy2Nnn7UVo/s=";
}; };
vendorSha256 = null; vendorHash = null;
postInstall = '' postInstall = ''
mv $out/bin/gocode $out/bin/gocode-gomod mv $out/bin/gocode $out/bin/gocode-gomod

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "sha256-1IwtGUqshpLDyxH5NNkGUads1TKLs48eslNnFylGUPA="; sha256 = "sha256-1IwtGUqshpLDyxH5NNkGUads1TKLs48eslNnFylGUPA=";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "Calculate cyclomatic complexities of functions in Go source code"; description = "Calculate cyclomatic complexities of functions in Go source code";

View File

@@ -7,7 +7,7 @@ buildGoModule rec {
subPackages = [ "." ]; subPackages = [ "." ];
vendorSha256 = null; vendorHash = null;
doCheck = false; doCheck = false;

View File

@@ -8,7 +8,7 @@ buildGoModule rec {
version = "2019-02-28"; version = "2019-02-28";
rev = "b37376c5da6aeb900611837098f40f81972e63e4"; rev = "b37376c5da6aeb900611837098f40f81972e63e4";
vendorSha256 = null; vendorHash = null;
doCheck = false; doCheck = false;

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-ebxz2uTH7XwD3j6JnsfET6aCGYjvsCjow/sU9pagg50="; sha256 = "sha256-ebxz2uTH7XwD3j6JnsfET6aCGYjvsCjow/sU9pagg50=";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "Simply tool to convert json to yaml written in Go"; description = "Simply tool to convert json to yaml written in Go";

View File

@@ -16,7 +16,7 @@ buildGoModule rec {
sha256 = "0mkh81hd7kn45dz7b6yhzqsg2mvg1g6pwx89jjigxrnqhyg9vrl7"; sha256 = "0mkh81hd7kn45dz7b6yhzqsg2mvg1g6pwx89jjigxrnqhyg9vrl7";
}; };
vendorSha256 = null; vendorHash = null;
# This is required for wrapProgram. # This is required for wrapProgram.
allowGoReference = true; allowGoReference = true;

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
hash = "sha256-WR6wLa/Za5MgcH1enHG/74uq/7PdaY/OzvJdgMgDFIk="; hash = "sha256-WR6wLa/Za5MgcH1enHG/74uq/7PdaY/OzvJdgMgDFIk=";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ ldflags = [
"-s" "-s"

View File

@@ -13,7 +13,7 @@ buildGoModule rec {
subPackages = [ "." ]; subPackages = [ "." ];
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "An idempotent command-line utility for managing your /etc/hosts* file."; description = "An idempotent command-line utility for managing your /etc/hosts* file.";

View File

@@ -17,7 +17,7 @@ buildGoModule rec {
sha256 = "0r5hihzp2679ki9hr3p0f085rafy2hc8kpkdhnd4m5k4iibqib08"; sha256 = "0r5hihzp2679ki9hr3p0f085rafy2hc8kpkdhnd4m5k4iibqib08";
}; };
vendorSha256 = null; vendorHash = null;
postPatch = '' postPatch = ''
V={newgidmap,newgidmap} \ V={newgidmap,newgidmap} \

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-vjb5wEiJw48s7FUarpA94ZauFC7iEgRDAkRTwRIZ8pA="; sha256 = "sha256-vjb5wEiJw48s7FUarpA94ZauFC7iEgRDAkRTwRIZ8pA=";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" "-X main.Version=${version}" ]; ldflags = [ "-s" "-w" "-X main.Version=${version}" ];

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "0whijr2r2j5bvfy8jgmpxsa0zvwk5kfjlpnkw4za5k35q7bjffls"; sha256 = "0whijr2r2j5bvfy8jgmpxsa0zvwk5kfjlpnkw4za5k35q7bjffls";
}; };
vendorSha256 = null; #vendorSha256 = ""; vendorHash = null;
subPackages = [ "." ]; subPackages = [ "." ];

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "sha256-xAK06bpl8BGsVUu6O1C2l+tzeiCQoRUMIUtwntUZVvU="; sha256 = "sha256-xAK06bpl8BGsVUu6O1C2l+tzeiCQoRUMIUtwntUZVvU=";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ ldflags = [
"-s" "-s"

View File

@@ -4,7 +4,7 @@ buildGoModule rec {
pname = "go-md2man"; pname = "go-md2man";
version = "2.0.2"; version = "2.0.2";
vendorSha256 = null; vendorHash = null;
src = fetchFromGitHub { src = fetchFromGitHub {
rev = "v${version}"; rev = "v${version}";

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-8x9oJaYb/mN2TUaVrGOYi5/6TETD78jif0SwCSc0kyo="; sha256 = "sha256-8x9oJaYb/mN2TUaVrGOYi5/6TETD78jif0SwCSc0kyo=";
}; };
vendorSha256 = null; vendorHash = null;
modRoot = "./src/cmd/linuxkit"; modRoot = "./src/cmd/linuxkit";

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-n9Koi01Te77bpYbRX46UThyD2FhCu9OGHd/6xDQLqjQ="; sha256 = "sha256-n9Koi01Te77bpYbRX46UThyD2FhCu9OGHd/6xDQLqjQ=";
}; };
vendorSha256 = null; vendorHash = null;
doCheck = false; doCheck = false;

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-QViB9lS/znrFb7GoV0RUf1SwS7veTKlmFozWKM1zc+Y="; sha256 = "sha256-QViB9lS/znrFb7GoV0RUf1SwS7veTKlmFozWKM1zc+Y=";
}; };
vendorSha256 = null; vendorHash = null;
# scc has a scripts/ sub-package that's for testing. # scc has a scripts/ sub-package that's for testing.
excludedPackages = [ "scripts" ]; excludedPackages = [ "scripts" ];

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "111350jbq0dp0qhk48j12hrlisd1fwzqpcv357igrbqf6ki7r78q"; sha256 = "111350jbq0dp0qhk48j12hrlisd1fwzqpcv357igrbqf6ki7r78q";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" "-X main.Version=${version}" "-X main.GitCommit=${src.rev}" ]; ldflags = [ "-s" "-w" "-X main.Version=${version}" "-X main.GitCommit=${src.rev}" ];

View File

@@ -10,7 +10,7 @@ buildGoModule rec {
sha256 = "sha256-2k8AsmyhQNNZCzpVt6JdgvI8IFb5pRi4ic6Yn2NqHMM="; sha256 = "sha256-2k8AsmyhQNNZCzpVt6JdgvI8IFb5pRi4ic6Yn2NqHMM=";
}; };
vendorSha256 = null; vendorHash = null;
subPackages = [ "." ]; subPackages = [ "." ];

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "0xzsvhpllmzmyfg8sj1dpp02826j1plmyrdvqbwryzhf2ci33nqr"; sha256 = "0xzsvhpllmzmyfg8sj1dpp02826j1plmyrdvqbwryzhf2ci33nqr";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/valyala/quicktemplate"; homepage = "https://github.com/valyala/quicktemplate";

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "sha256-fHWtUoVK3G0Kn69O6/D0blM6Q/u4LuLinT6sxF18nFo="; sha256 = "sha256-fHWtUoVK3G0Kn69O6/D0blM6Q/u4LuLinT6sxF18nFo=";
}; };
vendorSha256 = null; vendorHash = null;
doCheck = false; doCheck = false;

View File

@@ -15,7 +15,7 @@ buildGoModule rec {
"-s" "-w" "-X main.version=${version}" "-X main.commitHash=${src.rev}" "-X main.date=19700101T000000" "-s" "-w" "-X main.version=${version}" "-X main.commitHash=${src.rev}" "-X main.date=19700101T000000"
]; ];
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "CLI to render Go template text files"; description = "CLI to render Go template text files";

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "ahsNiac/3I2+PUqc90E73Brb99M68ewh9nWXoupfE3g="; sha256 = "ahsNiac/3I2+PUqc90E73Brb99M68ewh9nWXoupfE3g=";
}; };
vendorSha256 = null; vendorHash = null;
# Avoid building example # Avoid building example
subPackages = [ "." "fs" ]; subPackages = [ "." "fs" ];

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "sha256-kyB6gUbc32NsSDqDy1zVT4HXn0pWxHdBOEBOSaI0Xro="; sha256 = "sha256-kyB6gUbc32NsSDqDy1zVT4HXn0pWxHdBOEBOSaI0Xro=";
}; };
vendorSha256 = null; vendorHash = null;
# There are not test files # There are not test files
doCheck = false; doCheck = false;

View File

@@ -18,7 +18,7 @@ buildGoModule rec {
sha256 = "sha256-WJteeFUMr684yZEtUP13MqRjJ1UAeo48AzOPdLEE65w="; sha256 = "sha256-WJteeFUMr684yZEtUP13MqRjJ1UAeo48AzOPdLEE65w=";
}; };
vendorSha256 = null; vendorHash = null;
nativeBuildInputs = [ nativeBuildInputs = [
makeWrapper makeWrapper

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "0khl2f6bl121slw9mlf4qzsdarpk1v3vry11f3dvz7pb1q6zjj11"; sha256 = "0khl2f6bl121slw9mlf4qzsdarpk1v3vry11f3dvz7pb1q6zjj11";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "A touch-typing tutor"; description = "A touch-typing tutor";

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-cg4aZmpTysc8m1euxIO2XPv8OMnBk1DwhFcuIFHF/1o="; sha256 = "sha256-cg4aZmpTysc8m1euxIO2XPv8OMnBk1DwhFcuIFHF/1o=";
}; };
vendorSha256 = null; vendorHash = null;
meta = { meta = {
description = "Access Windows named pipes from WSL"; description = "Access Windows named pipes from WSL";

View File

@@ -13,7 +13,7 @@ buildGoModule {
rev = "258780987922e46abde8e848247af0a9435e3099"; rev = "258780987922e46abde8e848247af0a9435e3099";
sha256 = "sha256-yRfdnqk93GOTBa0zZrm4K3AkUqxGmlrwlKYcD6CtgRg="; sha256 = "sha256-yRfdnqk93GOTBa0zZrm4K3AkUqxGmlrwlKYcD6CtgRg=";
}; };
vendorSha256 = null; vendorHash = null;
subPackages = [ "." ]; subPackages = [ "." ];
meta = with lib; { meta = with lib; {

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-Kv4BsFB08rkGRkePFIkjjuhK1TnLPS4m+PUlgKG5cTQ="; sha256 = "sha256-Kv4BsFB08rkGRkePFIkjjuhK1TnLPS4m+PUlgKG5cTQ=";
}; };
vendorSha256 = null; vendorHash = null;
doCheck = false; doCheck = false;

View File

@@ -21,7 +21,7 @@ buildGoModule rec {
make -e build${lib.optionalString enableStatic "-static"} make -e build${lib.optionalString enableStatic "-static"}
''; '';
vendorSha256 = null; #vendorSha256 = ""; vendorHash = null;
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin

View File

@@ -7,7 +7,7 @@ buildGoModule {
inherit (sources) pname version src; inherit (sources) pname version src;
modRoot = "src/hockeypuck/"; modRoot = "src/hockeypuck/";
vendorSha256 = null; vendorHash = null;
doCheck = false; # Uses networking for tests doCheck = false; # Uses networking for tests
passthru.tests = nixosTests.hockeypuck; passthru.tests = nixosTests.hockeypuck;

View File

@@ -4,7 +4,7 @@ buildGoModule rec {
pname = "stuffbin"; pname = "stuffbin";
version = "1.1.0"; version = "1.1.0";
vendorSha256 = null; vendorHash = null;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "knadh"; owner = "knadh";

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-dYkMCCAIlFDFOFUNJd4NvtAeJDTsHeJoH90b5pSGlQE="; sha256 = "sha256-dYkMCCAIlFDFOFUNJd4NvtAeJDTsHeJoH90b5pSGlQE=";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "0vb6vnd2j87iqxdl86j30dk65vrv4scprv200xb83203aprngqgh"; sha256 = "0vb6vnd2j87iqxdl86j30dk65vrv4scprv200xb83203aprngqgh";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View File

@@ -10,7 +10,7 @@ buildGoModule rec {
sha256 = "1cf46wp96d9dwlwlffcgbcr0v3xxxfdv6il0zqkm2i7cfsfw0skf"; sha256 = "1cf46wp96d9dwlwlffcgbcr0v3xxxfdv6il0zqkm2i7cfsfw0skf";
}; };
vendorSha256 = null; vendorHash = null;
passthru.tests = { inherit (nixosTests.prometheus-exporters) jitsi; }; passthru.tests = { inherit (nixosTests.prometheus-exporters) jitsi; };

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-1u+89odwV/lz34wtrK91lET2bOqkH6kRA7JCjzsmiEg="; sha256 = "sha256-1u+89odwV/lz34wtrK91lET2bOqkH6kRA7JCjzsmiEg=";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ ldflags = [
"-s" "-s"

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "sha256-+sq5Wja0tVkPZ0Z++K2A6my9LfLJ4twxtoEAS6LHqzE="; sha256 = "sha256-+sq5Wja0tVkPZ0Z++K2A6my9LfLJ4twxtoEAS6LHqzE=";
}; };
vendorSha256 = null; vendorHash = null;
postInstall = '' postInstall = ''
mv $out/bin/{,portunus-}orchestrator mv $out/bin/{,portunus-}orchestrator

View File

@@ -3,7 +3,7 @@ import ./versions.nix ({version, sha256}:
buildGoModule { buildGoModule {
pname = "honeyvent"; pname = "honeyvent";
inherit version; inherit version;
vendorSha256 = null; vendorHash = null;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "honeycombio"; owner = "honeycombio";

View File

@@ -15,7 +15,7 @@ buildGoModule rec {
sha256 = "sha256-BRD8IF3s9RaDorVtXRvbKLVVVXWiEQTQyKBR9jFo1eM="; sha256 = "sha256-BRD8IF3s9RaDorVtXRvbKLVVVXWiEQTQyKBR9jFo1eM=";
}; };
vendorSha256 = null; vendorHash = null;
subPackages = [ "cmd/trickster" ]; subPackages = [ "cmd/trickster" ];

View File

@@ -16,7 +16,7 @@ buildGoModule rec {
sha256 = "0sh67bzq3hlagk73w2kp45viq15g2rcxm760jk9fqshamq784m6m"; sha256 = "0sh67bzq3hlagk73w2kp45viq15g2rcxm760jk9fqshamq784m6m";
}; };
vendorSha256 = null; vendorHash = null;
passthru.tests = { passthru.tests = {
smoke-test = nixosTests.acme; smoke-test = nixosTests.acme;

View File

@@ -4,7 +4,7 @@ buildGoModule rec {
pname = "stuffbin"; pname = "stuffbin";
version = "1.1.0"; version = "1.1.0";
vendorSha256 = null; vendorHash = null;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "knadh"; owner = "knadh";

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "sha256-9CV6B7fRHXl73uI2JRv3RiaFczLHHBOd7/8UoCAwK6w="; sha256 = "sha256-9CV6B7fRHXl73uI2JRv3RiaFczLHHBOd7/8UoCAwK6w=";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "Modern replacement for free"; description = "Modern replacement for free";

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-Iro/FjPFMqulcK90MbludnOXkMEHW0QSCoQRL01/LDE"; sha256 = "sha256-Iro/FjPFMqulcK90MbludnOXkMEHW0QSCoQRL01/LDE";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View File

@@ -9,7 +9,7 @@ buildGoModule rec {
rev = "v${version}"; rev = "v${version}";
sha256 = "1szzfz5xsx9l8gjikfncgp86hydzpvsi0y5zvikd621xkp7g7l21"; sha256 = "1szzfz5xsx9l8gjikfncgp86hydzpvsi0y5zvikd621xkp7g7l21";
}; };
vendorSha256 = null; vendorHash = null;
subPackages = "."; subPackages = ".";
meta = with lib; { meta = with lib; {

View File

@@ -16,7 +16,7 @@ buildGoModule rec {
hash = "sha256-wjbptcGy3wOZPm/11El7Xqz6NrR8G19V9zfU5pKFGuk="; hash = "sha256-wjbptcGy3wOZPm/11El7Xqz6NrR8G19V9zfU5pKFGuk=";
}; };
vendorSha256 = null; vendorHash = null;
subPackages = [ "cmd/upterm" "cmd/uptermd" ]; subPackages = [ "cmd/upterm" "cmd/uptermd" ];

View File

@@ -12,7 +12,7 @@ buildGoModule rec {
}; };
# vendor directory is part of repository # vendor directory is part of repository
vendorSha256 = null; vendorHash = null;
# make sure version gets set at compile time # make sure version gets set at compile time
ldflags = [ "-s" "-w" "-X main.vshVersion=v${version}" ]; ldflags = [ "-s" "-w" "-X main.vshVersion=v${version}" ];

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "0f45ai1s4njhcvbv088yn10i3vdvlm6wlfi0ijq5gak1dg02klma"; sha256 = "0f45ai1s4njhcvbv088yn10i3vdvlm6wlfi0ijq5gak1dg02klma";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-X main.progVersion=${version}" ]; ldflags = [ "-X main.progVersion=${version}" ];
meta = with lib; { meta = with lib; {

View File

@@ -68,7 +68,7 @@ in
buildGoModule rec { buildGoModule rec {
inherit src version; inherit src version;
pname = "${provider}-vpn"; pname = "${provider}-vpn";
vendorSha256 = null; vendorHash = null;
postPatch = '' postPatch = ''
substituteInPlace pkg/pickle/helpers.go \ substituteInPlace pkg/pickle/helpers.go \

View File

@@ -4,7 +4,7 @@ buildGoModule rec {
pname = "dnscrypt-proxy"; pname = "dnscrypt-proxy";
version = "2.1.5"; version = "2.1.5";
vendorSha256 = null; vendorHash = null;
doCheck = false; doCheck = false;

View File

@@ -16,7 +16,7 @@ buildGoModule rec {
hash = "sha256-yG9PfpYqW95X7EfbAhKEDmqBue7SjFULXUO73V4s3t4="; hash = "sha256-yG9PfpYqW95X7EfbAhKEDmqBue7SjFULXUO73V4s3t4=";
}; };
vendorSha256 = null; vendorHash = null;
deleteVendor = true; deleteVendor = true;

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "10qh7rj8s540ghjdvymly53vny3n0qd0z0ixy24n026jjhgjvnpl"; sha256 = "10qh7rj8s540ghjdvymly53vny3n0qd0z0ixy24n026jjhgjvnpl";
}; };
vendorSha256 = null; vendorHash = null;
# The tests are broken and apparently you need to uncomment some lines in the # The tests are broken and apparently you need to uncomment some lines in the
# code in order for it to work. # code in order for it to work.

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "0gsdksrzlwpba14a43ayyy41l1hxpw4ayjpvqyd4ycakddlkvgzb"; sha256 = "0gsdksrzlwpba14a43ayyy41l1hxpw4ayjpvqyd4ycakddlkvgzb";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "HTTP load generator, ApacheBench (ab) replacement"; description = "HTTP load generator, ApacheBench (ab) replacement";

View File

@@ -15,7 +15,7 @@ buildGoModule rec {
sha256 = "sha256-ZkGhEOckIOYGb6Yjr4I4e9cjAHDfksRwHW+zgOMZ/FE="; sha256 = "sha256-ZkGhEOckIOYGb6Yjr4I4e9cjAHDfksRwHW+zgOMZ/FE=";
}; };
vendorSha256 = null; #vendorSha256 = ""; vendorHash = null;
subPackages = [ "." ]; subPackages = [ "." ];

View File

@@ -18,7 +18,7 @@ buildGoModule rec {
hash = "sha256-nBhSl4r7LlgCA5/HCLpOleihE5n/JCJgf43KdCklQbg="; hash = "sha256-nBhSl4r7LlgCA5/HCLpOleihE5n/JCJgf43KdCklQbg=";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View File

@@ -18,7 +18,7 @@ buildGoModule rec {
--replace '/usr/lib/holo/holo-build' '${placeholder "out"}/lib/holo/holo-build' --replace '/usr/lib/holo/holo-build' '${placeholder "out"}/lib/holo/holo-build'
''; '';
vendorSha256 = null; vendorHash = null;
nativeBuildInputs = [ installShellFiles perl ]; nativeBuildInputs = [ installShellFiles perl ];

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "02s03sha8vwp7dsaw3z446pskhb6wmy0hyj0mhpbx58sf147rkig"; sha256 = "02s03sha8vwp7dsaw3z446pskhb6wmy0hyj0mhpbx58sf147rkig";
}; };
vendorSha256 = null; #vendorSha256 = ""; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "Phishing tool for red teams and pentesters"; description = "Phishing tool for red teams and pentesters";

View File

@@ -10,7 +10,7 @@ buildGoModule rec {
rev = "v${version}"; rev = "v${version}";
sha256 = "1my93m1rx08kn2yms6k8w43byr8k61r1nra4b082j8b393wwxkqc"; sha256 = "1my93m1rx08kn2yms6k8w43byr8k61r1nra4b082j8b393wwxkqc";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View File

@@ -16,7 +16,7 @@ buildGoModule rec {
sha256 = "sha256-rEn9FpcRfEt2yGepIPEAO9m8JeVb+nMhYMBWhC/barc="; sha256 = "sha256-rEn9FpcRfEt2yGepIPEAO9m8JeVb+nMhYMBWhC/barc=";
}; };
vendorSha256 = null; vendorHash = null;
propagatedBuildInputs = [ git ]; propagatedBuildInputs = [ git ];

View File

@@ -15,7 +15,7 @@ buildGoModule rec {
sha256 = "sha256-pO6difzNvQvKQtRLyksXmExtQHlnnwyF3iNEmSBgUmU="; sha256 = "sha256-pO6difzNvQvKQtRLyksXmExtQHlnnwyF3iNEmSBgUmU=";
}; };
vendorSha256 = null; vendorHash = null;
nativeCheckInputs = [ nativeCheckInputs = [
git git

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "sha256-YMD2233EdrrF1SLjwiRcNr53b7Rf5Tu8CZC43QhSY7c="; sha256 = "sha256-YMD2233EdrrF1SLjwiRcNr53b7Rf5Tu8CZC43QhSY7c=";
}; };
vendorSha256 = null; vendorHash = null;
postInstall = '' postInstall = ''
mv $out/bin/scanner $out/bin/$pname mv $out/bin/scanner $out/bin/$pname

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "sha256-3p6rUFFiWXhX9BBbxqWxRoyRceexvNnqcFCyNi5HoaA="; sha256 = "sha256-3p6rUFFiWXhX9BBbxqWxRoyRceexvNnqcFCyNi5HoaA=";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-qi+SeNLW/jE2dGar4Lf16TKRT3ZTmWB/j8EsnoyrdxI="; sha256 = "sha256-qi+SeNLW/jE2dGar4Lf16TKRT3ZTmWB/j8EsnoyrdxI=";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "A simple Minio tool to generate self-signed certificates, and provides SAN certificates with DNS and IP entries"; description = "A simple Minio tool to generate self-signed certificates, and provides SAN certificates with DNS and IP entries";

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "0dkd02l30461cwn5hsssnjyb9s8ww179wll3l7z5hy1hv3x6h9g1"; sha256 = "0dkd02l30461cwn5hsssnjyb9s8ww179wll3l7z5hy1hv3x6h9g1";
}; };
vendorSha256 = null; #vendorSha256 = ""; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "Tool to bruteforce SSH server"; description = "Tool to bruteforce SSH server";

View File

@@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = "sha256-LQfKdjZaTm5z8DUt6He/RJHbOUCUwP3CV3Fyt5rJIfU="; sha256 = "sha256-LQfKdjZaTm5z8DUt6He/RJHbOUCUwP3CV3Fyt5rJIfU=";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
description = "Automatic Linux privilege escalation"; description = "Automatic Linux privilege escalation";

View File

@@ -3,7 +3,7 @@
buildGoModule rec { buildGoModule rec {
pname = "runitor"; pname = "runitor";
version = "1.2.0"; version = "1.2.0";
vendorSha256 = null; vendorHash = null;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bdd"; owner = "bdd";

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "17gs3417633z71kc6l5zqg4b3rjhpn2v8qs8rnfrk4nbwzz4nrq3"; sha256 = "17gs3417633z71kc6l5zqg4b3rjhpn2v8qs8rnfrk4nbwzz4nrq3";
}; };
vendorSha256 = null; vendorHash = null;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/Guitarbum722/align"; homepage = "https://github.com/Guitarbum722/align";

View File

@@ -11,7 +11,7 @@ buildGoModule {
hash = "sha256-Bp1cST6/8ppvpgNxjUpwL498C9vTJmoWOKLJgmWqfEs="; hash = "sha256-Bp1cST6/8ppvpgNxjUpwL498C9vTJmoWOKLJgmWqfEs=";
}; };
vendorSha256 = null; vendorHash = null;
postInstall = '' postInstall = ''
mv $out/bin/cmd $out/bin/cidrgrep mv $out/bin/cmd $out/bin/cidrgrep

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-i03w8PZ31j5EutUZaamZsHz+z4qgX4prePbj5DLA78s="; sha256 = "sha256-i03w8PZ31j5EutUZaamZsHz+z4qgX4prePbj5DLA78s=";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View File

@@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-8xLyk1iid3xDCAuZwz1oXsEyboLaxvzm1BEyA2snQt4="; sha256 = "sha256-8xLyk1iid3xDCAuZwz1oXsEyboLaxvzm1BEyA2snQt4=";
}; };
vendorSha256 = null; vendorHash = null;
ldflags = [ "-s" "-w" "-X main.version=${version}" ]; ldflags = [ "-s" "-w" "-X main.version=${version}" ];