uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
38
pkgs/tools/video/gopro/default.nix
Normal file
38
pkgs/tools/video/gopro/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, ffmpeg
|
||||
, imagemagick
|
||||
, makeWrapper
|
||||
, mplayer
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gopro";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KonradIT";
|
||||
repo = "gopro-linux";
|
||||
rev = version;
|
||||
sha256 = "0sb9vpiadrq8g4ag828h8mvq01fg0306j0wjwkxdmwfqync1128l";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 gopro -t $out/bin
|
||||
wrapProgram $out/bin/gopro \
|
||||
--prefix PATH ":" "${lib.makeBinPath [ ffmpeg imagemagick mplayer ]}"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line interface for processing media filmed on GoPro HERO 3, 4, 5, 6, and 7 cameras";
|
||||
homepage = "https://github.com/KonradIT/gopro-linux";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue