Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 46 lines 934 B view raw
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 autoreconfHook, 6 pkg-config, 7 libkate, 8 pango, 9 cairo, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "libtiger"; 14 version = "0.3.4"; 15 16 src = fetchurl { 17 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libtiger/libtiger-${version}.tar.gz"; 18 sha256 = "0rj1bmr9kngrgbxrjbn4f4f9pww0wmf6viflinq7ava7zdav4hkk"; 19 }; 20 21 patches = [ 22 ./pkg-config.patch 23 ]; 24 25 postPatch = '' 26 substituteInPlace configure.ac --replace "-Werror" "-Wno-error" 27 ''; 28 29 nativeBuildInputs = [ 30 autoreconfHook 31 pkg-config 32 ]; 33 buildInputs = [ 34 libkate 35 pango 36 cairo 37 ]; 38 39 meta = { 40 homepage = "https://code.google.com/archive/p/libtiger/"; 41 description = "Rendering library for Kate streams using Pango and Cairo"; 42 platforms = lib.platforms.unix; 43 license = lib.licenses.lgpl21Plus; 44 maintainers = with lib.maintainers; [ matthewbauer ]; 45 }; 46}