buildGoModule packages: set doCheck = false

This commit is contained in:
zowoq
2020-08-04 10:26:27 +10:00
parent cc06d7a26f
commit cea7cd902e
261 changed files with 546 additions and 2 deletions

View File

@@ -26,6 +26,8 @@ buildGoModule rec {
runVend = true;
vendorSha256 = "0p7vyw61nwvmaz7gz2bdh9fi6wp62i2vnzw6iz2r8cims4sbz53b";
doCheck = false;
nativeBuildInputs = [ packr pkg-config ];
buildInputs = [ bzip2 lz4 rocksdb snappy zeromq zlib ];

View File

@@ -16,6 +16,8 @@ buildGoModule rec {
};
vendorSha256 = "09vnci9pp8zp7bvn8zj68wslz2nc54nhcd0ll31sqfjbp00215mj";
doCheck = false;
preBuild = ''
cat << EOF > caddy/main.go
package main

View File

@@ -15,6 +15,8 @@ buildGoModule rec {
vendorSha256 = "0jzx00c2b8y7zwl73r2fh1826spcd15y39nfzr53s5lay3fvkybc";
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://caddyserver.com";
description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS";

View File

@@ -27,6 +27,9 @@ buildGoModule rec {
subPackages = ["." "connect/certgen"];
vendorSha256 = "12a2x8j4kc1vi3ip0cz81k6anfwac23iqqyz00wf7wpvgxqzcxn3";
doCheck = false;
deleteVendor = true;
preBuild = ''

View File

@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0n442nsa2whwb22dl0cjxspl8dc00rqv29zivcw9liwdzara81bw";
doCheck = false;
nativeBuildInputs = [ installShellFiles ];
# see licensing

View File

@@ -15,6 +15,8 @@ buildGoModule rec {
vendorSha256 = "17znl3vkg73hnrfl697rw201nsd5sijgalnbkljk1b4m0a01zik1";
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://coredns.io";
description = "A DNS server that runs middleware";

View File

@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = null;
doCheck = false;
nativeBuildInputs = [ go-bindata go-bindata-assetfs ];
# This is really weird, but they've managed to screw up

View File

@@ -13,6 +13,8 @@ buildGoModule {
vendorSha256 = "0vvs717pl5gzggxpbn2vkyxmpiw5zjdfnpbh8i81xidbqvlnm22h";
doCheck = false;
outputs = [ "out" "index" ];
postInstall = ''

View File

@@ -7,6 +7,9 @@ buildGoModule rec {
#vendorSha256 = null; revert to `null` for > 3.4.10
vendorSha256 = "1fhrycl8m8ddb7mwasbyfiwrl4d9lfdk7zd3mxb7ahkipdp2c94z";
doCheck = false;
deleteVendor = true;
src = fetchFromGitHub {

View File

@@ -23,6 +23,8 @@ buildGoModule rec {
vendorSha256 = "1nkni9ikpc0wngh5v0qmlpn5s9v85lb2ih22f3h3lih7nc29yv87";
doCheck = false;
installPhase = ''
mkdir -p $out/bin
cp bin/gobetween $out/bin

View File

@@ -12,6 +12,8 @@ buildGoModule rec {
};
vendorSha256 = "1nwrzbpqycr4ixk8a90pgaxcwakv5nlfnql6hmcc518qrva198wp";
doCheck = false;
meta = with lib; {
description = "The RPKI-to-Router server used at Cloudflare";
homepage = "https://github.com/cloudflare/gortr/";

View File

@@ -23,6 +23,8 @@ buildGoModule rec {
vendorSha256 = import ./vendor-sha.nix;
doCheck = false;
postPatch = ''
substituteInPlace app.go \
--replace 'Version = "unknown"' 'Version = "${version}"'

View File

@@ -12,6 +12,8 @@ buildGoModule rec {
vendorSha256 = "0a3mlkl00r680v8x3hy24ykggq5qm7k3101krlyfrb5y4karp75a";
doCheck = false;
buildFlagsArray = [''-ldflags=
-X github.com/hasura/graphql-engine/cli/version.BuildVersion=${version}
-s

View File

@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "1pvyr3lazza89njdl6q3h2nd0mkvjvbryyrfqv11kd3s52055ckz";
doCheck = false;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gobject-introspection vips ];

View File

@@ -17,6 +17,8 @@ buildGoModule rec {
vendorSha256 = "159s46rhg67mgglaxgddx3k8kssl0cqiq8yjdqgjhhxppf16r7dy";
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://github.com/BBVA/kapow";
description = "Expose command-line tools over HTTP";

View File

@@ -7,6 +7,8 @@ buildGoModule rec {
goPackagePath = "github.com/42wim/matterbridge";
vendorSha256 = null;
doCheck = false;
src = fetchurl {
url = "https://github.com/42wim/matterbridge/archive/v${version}.tar.gz";
sha256 = "1p89ik5zr1qq1abd9k1xfa4j62b11zdnl2gm52y0s5yx8slap4w0";

View File

@@ -14,6 +14,9 @@ buildGoModule rec {
buildInputs = [ olm ];
vendorSha256 = "05cqwprd1rcciw27wyz7lj1s3zmz2vq093vw1cx3kkjyf6lq8sk6";
doCheck = false;
runVend = true;
meta = with stdenv.lib; {

View File

@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "15yx5nkyf424v42glg3cx0gkqckdfv1xn25570s9cwf8zid0zlxd";
doCheck = false;
subPackages = [ "." ];
buildFlagsArray = [''-ldflags=

View File

@@ -18,6 +18,8 @@ buildGoModule rec {
vendorSha256 = null;
doCheck = false;
postInstall = ''
install -Dm444 -t $out/lib/systemd/system $src/packaging/etc/systemd/system/do-agent.service
'';

View File

@@ -20,6 +20,8 @@ buildGoModule rec {
vendorSha256 = "00xvpxhnvxdf030978paywl794mlmgqzd94b64hh67946acnbjcl";
doCheck = false;
postPatch = ''
substituteInPlace pkg/cmd/grafana-server/main.go \
--replace 'var version = "5.0.0"' 'var version = "${version}"'

View File

@@ -12,6 +12,9 @@ buildGoModule rec {
};
vendorSha256 = "02fnvy897cygmipc5snza556qihjwrp1lf9qi9f5dzarphd6d0pw";
doCheck = false;
subPackages = [ "cmd/mtail" ];
preBuild = ''

View File

@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "09x8y8pmgfn897hvnk122ry460y12b8a7y5fafri5wn9vxab9r82";
doCheck = false;
passthru.tests = { inherit (nixosTests.prometheus-exporters) apcupsd; };
meta = with stdenv.lib; {

View File

@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "1dqpa180pbdi2gcmp991d4cry560mx5rm5l9x065s9n9gnd38hvl";
doCheck = false;
passthru.tests = { inherit (nixosTests.prometheus-exporters) dnsmasq; };
meta = with stdenv.lib; {

View File

@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0w065ls8dp687jmps4xdffcarss1wyls14dngr43g58xjw6519gb";
doCheck = false;
passthru.tests = { inherit (nixosTests.prometheus-exporters) keylight; };
meta = with stdenv.lib; {

View File

@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "083h2ksnqmcr48958r5pag9a28xvljpc3prip6wn70ifp2wpjpin";
doCheck = false;
passthru.tests = { inherit (nixosTests.prometheus-exporters) lnd; };
meta = with stdenv.lib; {

View File

@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0i5x4d3ra0s41knmybbg8gnjxgraxkid6y3gfkjwa65xcbp7hr7q";
doCheck = false;
passthru.tests = { inherit (nixosTests.prometheus-exporters) mikrotik; };
meta = with stdenv.lib; {

View File

@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0f6v97cvzdz7wygswpm87wf8r169x5rw28908vqhmqk644hli4zy";
doCheck = false;
passthru.tests = { inherit (nixosTests.prometheus-exporters) modemmanager; };
meta = with stdenv.lib; {

View File

@@ -20,6 +20,8 @@ let
vendorSha256 = "06yfaj9k5n3jw8a142sscaqrvdw2lq51v884lp65wjdwy5c3jbba";
doCheck = false;
buildFlagsArray = let
versionPkg = "github.com/sensu/sensu-go/version";
in ''

View File

@@ -20,6 +20,8 @@ buildGoModule rec {
runVend = true;
vendorSha256 = "0c2sayg49b2rq3fnrbf741b6zy8byhwxlnxkhf5160gzqn6jy2rw";
doCheck = false;
buildFlagsArray = [ ''-ldflags=
-w -s -X main.version=${version}
'' ];

View File

@@ -12,6 +12,8 @@ buildGoModule rec {
vendorSha256 = "0ixriy5i1qc8hnslmiyd3qfw1g14zlmcslqwn2a9fpk7h0hwinba";
doCheck = false;
subPackages = "cmd/thanos";
buildFlagsArray = let t = "github.com/prometheus/common/version"; in ''

View File

@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "097x3z1fhdl5s3ni2qzbqxqr60l6lqcrbikq20fs052dp287q0sp";
doCheck = false;
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
excludedPackages = "test";

View File

@@ -15,6 +15,8 @@ buildGoModule rec {
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
vendorSha256 = "1pvf63cxwq4jj5gi2xalrsk2z1f7i53f0z6qc2p7aibwx9i1k9cz";
doCheck = false;
meta = with lib; {
description = "Relational database with version control and CLI a-la Git.";
homepage = "https://github.com/liquidata-inc/dolt";

View File

@@ -17,6 +17,9 @@ buildGoModule rec {
goPackagePath = "tailscale.com";
vendorSha256 = "0l9lzwwvshg9a2kmmq1cvvlaxncbas78a9hjhvjjar89rjr2k2sv";
doCheck = false;
subPackages = [ "cmd/tailscale" "cmd/tailscaled" ];
postInstall = ''

View File

@@ -12,6 +12,9 @@ buildGoModule rec {
};
vendorSha256 = "0kz7y64k07vlybzfjg6709fdy7krqlv1gkk01nvhs84sk8bnrcvn";
doCheck = false;
subPackages = [ "cmd/traefik" ];
nativeBuildInputs = [ go-bindata ];

View File

@@ -6,6 +6,8 @@ buildGoModule rec {
vendorSha256 = "1ik5faysc880kz7nymvbmjj006l1fsqfy76036szwzg314v78643";
doCheck = false;
src = fetchFromGitHub {
owner = "go-shiori";
repo = pname;