Files
nixpkgs/pkgs/development/libraries/libmpeg2/default.nix
T
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

23 lines
663 B
Nix

{ 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 = "Free library for decoding mpeg-2 and mpeg-1 video streams";
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ ];
platforms = with lib.platforms; unix;
};
}