mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
lux: init at 0.15.0
This commit is contained in:
parent
a291f1dc26
commit
4bdd6b834d
33
pkgs/tools/video/lux/default.nix
Normal file
33
pkgs/tools/video/lux/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, ffmpeg }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "lux";
|
||||
version = "0.15.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "iawia002";
|
||||
repo = "lux";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-fZR+Q0duITZq3Ynr2WTZAhDnmEkXrT2gXUlpuN0+aFo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
vendorSha256 = "sha256-SHUtyfGRGriEaESo6th7gGQn6V4REdk3XT0ZlGwky7E=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/lux \
|
||||
--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast and simple video download library and CLI tool written in Go";
|
||||
homepage = "https://github.com/iawia002/lux";
|
||||
changelog = "https://github.com/iawia002/lux/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ candyc1oud ];
|
||||
};
|
||||
}
|
@ -8782,6 +8782,8 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
lux = callPackage ../tools/video/lux { };
|
||||
|
||||
lv = callPackage ../tools/text/lv { };
|
||||
|
||||
lxc = callPackage ../os-specific/linux/lxc {
|
||||
|
Loading…
Reference in New Issue
Block a user