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
45
pkgs/applications/video/gpac/default.nix
Normal file
45
pkgs/applications/video/gpac/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib, stdenv, fetchFromGitHub, pkg-config, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.0.0";
|
||||
pname = "gpac";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gpac";
|
||||
repo = "gpac";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-MIX32lSqf/lrz9240h4wMIQp/heUmwvDJz8WN08yf6c=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace 'dh_link' 'ln -s'
|
||||
'';
|
||||
|
||||
# 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 ];
|
||||
|
||||
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.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue