mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
47 lines
920 B
Nix
47 lines
920 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchurl,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
libkate,
|
|
pango,
|
|
cairo,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libtiger";
|
|
version = "0.3.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libtiger/libtiger-${finalAttrs.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
|
|
];
|
|
|
|
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 = [ ];
|
|
};
|
|
})
|