2017-11-13 06:35:56 +00:00
|
|
|
{ stdenv, lib, fetchurl, libkate, pango, cairo, pkgconfig, darwin }:
|
2011-02-09 21:11:16 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libtiger-0.3.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-10-27 00:44:19 +01:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libtiger/${name}.tar.gz";
|
2011-02-09 21:11:16 +00:00
|
|
|
sha256 = "0rj1bmr9kngrgbxrjbn4f4f9pww0wmf6viflinq7ava7zdav4hkk";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2017-11-13 06:35:56 +00:00
|
|
|
buildInputs = [ libkate pango cairo ]
|
|
|
|
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.ApplicationServices;
|
2011-02-09 21:11:16 +00:00
|
|
|
|
|
|
|
meta = {
|
2017-10-27 00:44:19 +01:00
|
|
|
homepage = https://code.google.com/archive/p/libtiger/;
|
2011-02-09 21:11:16 +00:00
|
|
|
description = "A rendering library for Kate streams using Pango and Cairo";
|
2017-11-13 06:36:22 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2018-10-11 13:26:30 +01:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
2017-11-13 20:53:10 +00:00
|
|
|
maintainers = with lib.maintainers; [ matthewbauer ];
|
2011-02-09 21:11:16 +00:00
|
|
|
};
|
|
|
|
}
|