livedl: build using go 1.19; mark broken on darwin

This commit is contained in:
Sheng Wang 2022-10-26 20:07:22 +09:00 committed by zowoq
parent 8c5d19e712
commit 0bbe13d612
2 changed files with 6 additions and 7 deletions

View file

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, stdenv }:
buildGoModule rec {
pname = "livedl";
@ -11,9 +11,10 @@ buildGoModule rec {
sha256 = "1zax215jp6sl47m8ahssyyrbzn96dh74srq9g61jc76sq10xg329";
};
sourceRoot = "source/src";
modRoot = "src";
vendorSha256 = "g5Y1IH1U1zOOHygTzAJuBnUj+MyPe64KHTYikipt3TY=";
proxyVendor = true;
vendorSha256 = "sha256-C7lUusq/cWBCnA2wP9fzQglJCXvQyvFG4JY13H0cP6g=";
meta = with lib; {
description = "Command-line tool to download nicovideo.jp livestreams";
@ -21,5 +22,6 @@ buildGoModule rec {
license = licenses.mit;
maintainers = with maintainers; [ wakira ];
platforms = platforms.linux ++ platforms.darwin;
broken = stdenv.isDarwin; # build fails with go > 1.17
};
}

View file

@ -33640,10 +33640,7 @@ with pkgs;
};
litecoind = litecoin.override { withGui = false; };
livedl = callPackage ../tools/misc/livedl {
# pinned due to build failure or vendoring problems. When unpinning double check with: nix-build -A $name.go-modules --rebuild
buildGoModule = buildGo117Module;
};
livedl = callPackage ../tools/misc/livedl { };
lnd = callPackage ../applications/blockchains/lnd { };