1{ lib, stdenv, fetchurl, libogg, libpng }:
2
3stdenv.mkDerivation rec {
4 pname = "libkate";
5 version = "0.4.1";
6
7 src = fetchurl {
8 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libkate/${pname}-${version}.tar.gz";
9 sha256 = "0s3vr2nxfxlf1k75iqpp4l78yf4gil3f0v778kvlngbchvaq23n4";
10 };
11
12 buildInputs = [ libogg libpng ];
13
14 meta = with lib; {
15 description = "Library for encoding and decoding Kate streams";
16 longDescription = ''
17 This is libkate, the reference implementation of a codec for the Kate
18 bitstream format. Kate is a karaoke and text codec meant for encapsulation
19 in an Ogg container. It can carry Unicode text, images, and animate
20 them.'';
21 homepage = "https://code.google.com/archive/p/libkate/";
22 platforms = platforms.unix;
23 license = licenses.bsd3;
24 };
25}