7 stdenv.mkDerivation rec {
12 url = "http://libmpeg2.sourceforge.net/files/${pname}-${version}.tar.gz";
13 sha256 = "1m3i322n2fwgrvbs1yck7g5md1dbg22bhq5xdqmjpz5m7j4jxqny";
16 # Otherwise clang fails with 'duplicate symbol ___sputc'
17 buildFlags = lib.optional stdenv.hostPlatform.isDarwin "CFLAGS=-std=gnu89";
20 homepage = "http://libmpeg2.sourceforge.net/";
21 description = "Free library for decoding mpeg-2 and mpeg-1 video streams";
22 license = lib.licenses.gpl2;
24 platforms = with lib.platforms; unix;