1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
8 url = "http://libmpeg2.sourceforge.net/files/${pname}-${version}.tar.gz";
9 sha256 = "1m3i322n2fwgrvbs1yck7g5md1dbg22bhq5xdqmjpz5m7j4jxqny";
12 # Otherwise clang fails with 'duplicate symbol ___sputc'
13 buildFlags = lib.optional stdenv.isDarwin "CFLAGS=-std=gnu89";
16 homepage = "http://libmpeg2.sourceforge.net/";
17 description = "A free library for decoding mpeg-2 and mpeg-1 video streams";
18 license = lib.licenses.gpl2;
19 maintainers = with lib.maintainers; [ ];
20 platforms = with lib.platforms; unix;