Merge pull request #65607 from jonringer/add-gopro

gopro: init at 1.0
This commit is contained in:
Sarah Brofeldt 2019-08-03 08:44:37 +02:00 committed by GitHub
commit 57f6f4c147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ 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 ":" "${stdenv.lib.makeBinPath [ ffmpeg imagemagick mplayer ]}"
runHook postInstall
'';
meta = with stdenv.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.linux;
license = licenses.gpl3;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@ -3431,6 +3431,8 @@ in
google-music-scripts = callPackage ../tools/audio/google-music-scripts { };
gopro = callPackage ../tools/video/gopro { };
gource = callPackage ../applications/version-management/gource { };
govc = callPackage ../tools/virtualization/govc { };