about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libaosd/default.nix
blob: 540fc10998e5d57049940be6f7f2459f82d83aa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ lib, stdenv, fetchFromGitHub, pkg-config, cairo, pango,
  libX11, libXcomposite, autoconf, automake }:

stdenv.mkDerivation rec {
  version = "0.2.7-9-g177589f";
  pname = "libaosd";

  src = fetchFromGitHub {
    owner  = "atheme-legacy";
    repo   = "libaosd";
    rev    = version;
    sha256 = "1cn7k0n74p6jp25kxwcyblhmbdvgw3mikvj0m2jh4c6xccfrgb9a";
  };

  nativeBuildInputs = [ autoconf automake pkg-config ];
  buildInputs = [ cairo pango libX11 libXcomposite ];
  enableParallelBuilding = true;

  preConfigure = ''
    ./autogen.sh
  '';

  meta = with lib; {
    longDescription = ''
      libaosd is an advanced on screen display library.

      It supports many modern features like anti-aliased text and
      composited rendering via XComposite, as well as support for
      rendering Cairo and Pango layouts.
    '';
    broken = stdenv.isDarwin;
    homepage = "https://github.com/atheme-legacy/libaosd";
    license = licenses.mit;
    maintainers = with maintainers; [ unode ];
    platforms = with platforms; unix;
  };
}