mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 02:14:08 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
60 lines
1.5 KiB
Nix
60 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cctools,
|
|
pkg-config,
|
|
zlib,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gpac";
|
|
version = "2.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gpac";
|
|
repo = "gpac";
|
|
rev = "v${version}";
|
|
hash = "sha256-RADDqc5RxNV2EfRTzJP/yz66p0riyn81zvwU3r9xncM=";
|
|
};
|
|
|
|
# this is the bare minimum configuration, as I'm only interested in MP4Box
|
|
# For most other functionality, this should probably be extended
|
|
nativeBuildInputs =
|
|
[
|
|
pkg-config
|
|
]
|
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
cctools
|
|
];
|
|
|
|
buildInputs = [
|
|
zlib
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Open Source multimedia framework for research and academic purposes";
|
|
longDescription = ''
|
|
GPAC is an Open Source multimedia framework for research and academic purposes.
|
|
The project covers different aspects of multimedia, with a focus on presentation
|
|
technologies (graphics, animation and interactivity) and on multimedia packaging
|
|
formats such as MP4.
|
|
|
|
GPAC provides three sets of tools based on a core library called libgpac:
|
|
|
|
A multimedia player, called Osmo4 / MP4Client,
|
|
A multimedia packager, called MP4Box,
|
|
And some server tools included in MP4Box and MP42TS applications.
|
|
'';
|
|
homepage = "https://gpac.wp.imt.fr";
|
|
license = licenses.lgpl21;
|
|
maintainers = with maintainers; [
|
|
bluescreen303
|
|
mgdelacroix
|
|
];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|