Merge pull request #264319 from ga1aksy/lux

lux: 0.19.0 -> 0.21.0

authored by

Mario Rodas and committed by
GitHub
80ed1237 2e05cbf9

+17 -7
+17 -7
pkgs/tools/video/lux/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, makeWrapper, ffmpeg }: 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , makeWrapper 5 + , ffmpeg 6 + }: 2 7 3 8 buildGoModule rec { 4 9 pname = "lux"; 5 - version = "0.19.0"; 10 + version = "0.21.0"; 11 + 6 12 src = fetchFromGitHub { 7 13 owner = "iawia002"; 8 14 repo = "lux"; 9 15 rev = "v${version}"; 10 - sha256 = "sha256-klm1985qBErFfYIWPjr1/n6nYr/jA9dbrDMfw4bf1tM="; 16 + hash = "sha256-LCYWfF7O8wByCJNDi2BZsI7EU6wJqhcr/sbNOoQ2Src="; 11 17 }; 12 18 13 19 nativeBuildInputs = [ makeWrapper ]; 14 20 15 - vendorHash = "sha256-7wgGJYiIsVTRSuSb4a9LgYCkkayGhNMKqcIKoDxMuAM="; 21 + vendorHash = "sha256-wW/jrsurmyLcDX+58lp0M+snJ2avEs0HciNZ8BgIqrI="; 16 22 17 - ldflags = [ "-s" "-w" ]; 23 + ldflags = [ 24 + "-s" 25 + "-w" 26 + "-X github.com/iawia002/lux/app.version=v${version}" 27 + ]; 18 28 19 29 postInstall = '' 20 30 wrapProgram $out/bin/lux \ 21 31 --prefix PATH : ${lib.makeBinPath [ ffmpeg ]} 22 32 ''; 23 33 24 - doCheck = false; 34 + doCheck = false; # require network 25 35 26 36 meta = with lib; { 27 37 description = "Fast and simple video download library and CLI tool written in Go"; 28 38 homepage = "https://github.com/iawia002/lux"; 29 39 changelog = "https://github.com/iawia002/lux/releases/tag/v${version}"; 30 40 license = licenses.mit; 31 - maintainers = []; 41 + maintainers = with maintainers; [ galaxy ]; 32 42 }; 33 43 }