harvid: format with nixfmt-rfc-style
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, ffmpeg_4, libjpeg, libpng, pkg-config }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
ffmpeg_4,
|
||||
libjpeg,
|
||||
libpng,
|
||||
pkg-config,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "harvid";
|
||||
@@ -23,9 +32,16 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ ffmpeg_4 libjpeg libpng ];
|
||||
buildInputs = [
|
||||
ffmpeg_4
|
||||
libjpeg
|
||||
libpng
|
||||
];
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" "libdir=\"/lib\"" ];
|
||||
makeFlags = [
|
||||
"DESTDIR=$(out)"
|
||||
"libdir=\"/lib\""
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
@@ -35,8 +51,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"Decodes still images from movie files and serves them via HTTP";
|
||||
description = "Decodes still images from movie files and serves them via HTTP";
|
||||
longDescription = ''
|
||||
harvid's intended use-case is to efficiently provide frame-accurate data
|
||||
and act as second level cache for rendering the video-timeline in Ardour,
|
||||
|
||||
Reference in New Issue
Block a user