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
22
pkgs/development/libraries/libmpeg2/default.nix
Normal file
22
pkgs/development/libraries/libmpeg2/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.5.1";
|
||||
pname = "libmpeg2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://libmpeg2.sourceforge.net/files/${pname}-${version}.tar.gz";
|
||||
sha256 = "1m3i322n2fwgrvbs1yck7g5md1dbg22bhq5xdqmjpz5m7j4jxqny";
|
||||
};
|
||||
|
||||
# Otherwise clang fails with 'duplicate symbol ___sputc'
|
||||
buildFlags = lib.optional stdenv.isDarwin "CFLAGS=-std=gnu89";
|
||||
|
||||
meta = {
|
||||
homepage = "http://libmpeg2.sourceforge.net/";
|
||||
description = "A free library for decoding mpeg-2 and mpeg-1 video streams";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
platforms = with lib.platforms; unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue