1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/development/libraries/libass/default.nix
2014-03-02 12:35:57 +01:00

35 lines
852 B
Nix

{ stdenv, fetchurl, pkgconfig, yasm
, freetype, fribidi, fontconfig
, enca ? null
, harfbuzz ? null
}:
let
version = "0.11.1";
sha256 = "1b0ki1zdkhflszzj5qr45j9qsd0rfbb6ws5pqkny8jhih0l3lxwx";
baseurl = "https://github.com/libass/libass/releases/download";
in stdenv.mkDerivation rec {
name = "libass-${version}";
src = fetchurl {
url = "${baseurl}/${version}/${name}.tar.xz";
inherit sha256;
};
nativeBuildInputs = [ pkgconfig yasm ];
buildInputs = [
freetype fribidi fontconfig
enca harfbuzz
];
meta = {
description = "Portable ASS/SSA subtitle renderer";
homepage = http://code.google.com/p/libass/;
license = stdenv.lib.licenses.isc;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.urkud ];
repositories.git = git://github.com/libass/libass.git;
};
}