mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 15:04:44 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
38 lines
1.0 KiB
Nix
38 lines
1.0 KiB
Nix
{ 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.hostPlatform.isDarwin;
|
|
homepage = "https://github.com/atheme-legacy/libaosd";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ unode ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|