presenterm: 0.9.0 -> 0.10.0 (#378946)
[NixPkgs.git] / pkgs / by-name / li / livedl / package.nix
blob1034cad36ede26f3731034c402b9acfedcc9f3de
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5   stdenv,
6 }:
8 buildGoModule rec {
9   pname = "livedl";
10   version = "unstable-2021-05-16";
12   src = fetchFromGitHub {
13     owner = "himananiito";
14     repo = pname;
15     rev = "a8720f1e358e5b0ade6fdeb8aacc00781e6cc504";
16     sha256 = "1zax215jp6sl47m8ahssyyrbzn96dh74srq9g61jc76sq10xg329";
17   };
19   modRoot = "src";
21   proxyVendor = true;
22   vendorHash = "sha256-C7lUusq/cWBCnA2wP9fzQglJCXvQyvFG4JY13H0cP6g=";
24   meta = with lib; {
25     description = "Command-line tool to download nicovideo.jp livestreams";
26     homepage = "https://github.com/himananiito/livedl";
27     license = licenses.mit;
28     maintainers = with maintainers; [ wakira ];
29     platforms = platforms.linux ++ platforms.darwin;
30     broken = stdenv.hostPlatform.isDarwin; # build fails with go > 1.17
31     mainProgram = "livedl";
32   };