2021-02-05 17:12:51 +00:00
|
|
|
{ stdenv, lib, fetchurl, libkate, pango, cairo, pkg-config, darwin }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-01-13 20:06:32 +00:00
|
|
|
pname = "libtiger";
|
|
|
|
version = "0.3.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-01-13 20:06:32 +00:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libtiger/libtiger-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0rj1bmr9kngrgbxrjbn4f4f9pww0wmf6viflinq7ava7zdav4hkk";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libkate pango cairo ]
|
|
|
|
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.ApplicationServices;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://code.google.com/archive/p/libtiger/";
|
|
|
|
description = "A rendering library for Kate streams using Pango and Cairo";
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = with lib.maintainers; [ matthewbauer ];
|
|
|
|
};
|
|
|
|
}
|