diff options
Diffstat (limited to 'pkgs/development/libraries/libass/default.nix')
-rw-r--r-- | pkgs/development/libraries/libass/default.nix | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/pkgs/development/libraries/libass/default.nix b/pkgs/development/libraries/libass/default.nix deleted file mode 100644 index 3c3fa3ee7066..000000000000 --- a/pkgs/development/libraries/libass/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib, stdenv, fetchurl, pkg-config, yasm -, freetype, fribidi, harfbuzz -, fontconfigSupport ? true, fontconfig ? null # fontconfig support -, rasterizerSupport ? false # Internal rasterizer -, largeTilesSupport ? false # Use larger tiles in the rasterizer -, libiconv -, darwin -}: - -assert fontconfigSupport -> fontconfig != null; - -stdenv.mkDerivation rec { - pname = "libass"; - version = "0.17.3"; - - src = fetchurl { - url = "https://github.com/libass/libass/releases/download/${version}/${pname}-${version}.tar.xz"; - hash = "sha256-6uQl2lDwAVwh97OpxyYqkQ8CGK9GniLikxRi/tPFCVk="; - }; - - outputs = [ "out" "dev" ]; - - configureFlags = [ - (lib.enableFeature fontconfigSupport "fontconfig") - (lib.enableFeature rasterizerSupport "rasterizer") - (lib.enableFeature largeTilesSupport "large-tiles") - ]; - - nativeBuildInputs = [ pkg-config yasm ]; - - buildInputs = [ freetype fribidi harfbuzz ] - ++ lib.optional fontconfigSupport fontconfig - ++ lib.optional stdenv.isDarwin [ - libiconv - darwin.apple_sdk.frameworks.ApplicationServices - darwin.apple_sdk.frameworks.CoreFoundation - darwin.apple_sdk.frameworks.CoreText - ]; - - meta = with lib; { - description = "Portable ASS/SSA subtitle renderer"; - homepage = "https://github.com/libass/libass"; - license = licenses.isc; - platforms = platforms.unix; - maintainers = with maintainers; [ codyopel ]; - }; -} |