2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, cairo, pango,
|
2018-10-01 03:18:06 +01:00
|
|
|
libX11, libXcomposite, autoconf, automake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.2.7-9-g177589f";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libaosd";
|
2018-10-01 03:18:06 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "atheme-legacy";
|
|
|
|
repo = "libaosd";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2018-10-01 03:18:06 +01:00
|
|
|
sha256 = "1cn7k0n74p6jp25kxwcyblhmbdvgw3mikvj0m2jh4c6xccfrgb9a";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake pkg-config ];
|
2018-10-01 03:18:06 +01:00
|
|
|
buildInputs = [ cairo pango libX11 libXcomposite ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-10-01 03:18:06 +01:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/atheme-legacy/libaosd";
|
2018-10-01 03:18:06 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ unode ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|