nixpkgs/pkgs/by-name/li/libkate/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

26 lines
860 B
Nix

{ lib, stdenv, fetchurl, libogg, libpng }:
stdenv.mkDerivation rec {
pname = "libkate";
version = "0.4.1";
src = fetchurl {
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libkate/${pname}-${version}.tar.gz";
sha256 = "0s3vr2nxfxlf1k75iqpp4l78yf4gil3f0v778kvlngbchvaq23n4";
};
buildInputs = [ libogg libpng ];
meta = with lib; {
description = "Library for encoding and decoding Kate streams";
longDescription = ''
This is libkate, the reference implementation of a codec for the Kate
bitstream format. Kate is a karaoke and text codec meant for encapsulation
in an Ogg container. It can carry Unicode text, images, and animate
them.'';
homepage = "https://code.google.com/archive/p/libkate/";
platforms = platforms.unix;
license = licenses.bsd3;
};
}