depot/third_party/nixpkgs/pkgs/development/libraries/libtiger/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

33 lines
999 B
Nix

{ stdenv, lib, fetchurl, autoreconfHook, pkg-config
, libkate, pango, cairo, darwin
}:
stdenv.mkDerivation rec {
pname = "libtiger";
version = "0.3.4";
src = fetchurl {
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libtiger/libtiger-${version}.tar.gz";
sha256 = "0rj1bmr9kngrgbxrjbn4f4f9pww0wmf6viflinq7ava7zdav4hkk";
};
patches = [
./pkg-config.patch
];
postPatch = ''
substituteInPlace configure.ac --replace "-Werror" "-Wno-error"
'';
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libkate pango cairo ]
++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.ApplicationServices;
meta = {
homepage = "https://code.google.com/archive/p/libtiger/";
description = "Rendering library for Kate streams using Pango and Cairo";
platforms = lib.platforms.unix;
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ matthewbauer ];
};
}