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