libkate: 0.4.1 -> 0.4.3

Changes: https://gitlab.xiph.org/xiph/kate/-/blob/kate-0.4.3/ChangeLog?ref_type=tags

+27 -11
+27 -11
pkgs/by-name/li/libkate/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchurl, 4 + fetchFromGitLab, 5 + autoreconfHook, 6 + bison, 7 + flex, 5 8 libogg, 6 9 libpng, 10 + pkg-config, 7 11 }: 8 12 9 - stdenv.mkDerivation rec { 13 + stdenv.mkDerivation (finalAttrs: { 10 14 pname = "libkate"; 11 - version = "0.4.1"; 15 + version = "0.4.3"; 12 16 13 - src = fetchurl { 14 - url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libkate/${pname}-${version}.tar.gz"; 15 - sha256 = "0s3vr2nxfxlf1k75iqpp4l78yf4gil3f0v778kvlngbchvaq23n4"; 17 + src = fetchFromGitLab { 18 + domain = "gitlab.xiph.org/"; 19 + owner = "xiph"; 20 + repo = "kate"; 21 + tag = "kate-${finalAttrs.version}"; 22 + hash = "sha256-HwDahmjDC+O321Ba7MnHoQdHOFUMpFzaNdLHQeEg11Q="; 16 23 }; 17 24 25 + nativeBuildInputs = [ 26 + autoreconfHook 27 + bison 28 + flex 29 + pkg-config # provides macro PKG_CHECK_MODULES 30 + ]; 31 + 18 32 buildInputs = [ 19 33 libogg 20 34 libpng 21 35 ]; 22 36 23 - meta = with lib; { 37 + enableParallelBuilding = true; 38 + 39 + meta = { 24 40 description = "Library for encoding and decoding Kate streams"; 25 41 longDescription = '' 26 42 This is libkate, the reference implementation of a codec for the Kate 27 43 bitstream format. Kate is a karaoke and text codec meant for encapsulation 28 44 in an Ogg container. It can carry Unicode text, images, and animate 29 45 them.''; 30 - homepage = "https://code.google.com/archive/p/libkate/"; 31 - platforms = platforms.unix; 32 - license = licenses.bsd3; 46 + homepage = "https://wiki.xiph.org/index.php/OggKate"; 47 + platforms = lib.platforms.unix; 48 + license = lib.licenses.bsd3; 33 49 }; 34 - } 50 + })