nixpkgs/pkgs/development/libraries/libaosd/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

37 lines
1016 B
Nix

{ 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 stdenv.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.
'';
homepage = "https://github.com/atheme-legacy/libaosd";
license = licenses.mit;
maintainers = with maintainers; [ unode ];
platforms = with platforms; unix;
};
}