diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-12-09 18:55:19 +0000 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-12-09 18:55:19 +0000 |
commit | 80d90d9b204f7c17912740f9f414fe5d59f293ba (patch) | |
tree | 5f2065a06e724270610760d59d01c6888b375a46 /infra/libkookie/nixpkgs/pkgs/development/libraries/libthai/default.nix | |
parent | 3a31a84c7d3e589035ad08499206aac44a81f424 (diff) | |
parent | 83cbad92d73216bb0d9187c56cce0b91f9121d5a (diff) |
Merge commit '83cbad92d73216bb0d9187c56cce0b91f9121d5a' into main
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/libraries/libthai/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/libraries/libthai/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/libraries/libthai/default.nix b/infra/libkookie/nixpkgs/pkgs/development/libraries/libthai/default.nix new file mode 100644 index 000000000000..6179ad0f6bda --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/libraries/libthai/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, makeWrapper, installShellFiles, pkg-config, libdatrie }: + +stdenv.mkDerivation rec { + pname = "libthai"; + version = "0.1.28"; + + src = fetchurl { + url = "https://github.com/tlwg/libthai/releases/download/v${version}/libthai-${version}.tar.xz"; + sha256 = "04g93bgxrcnay9fglpq2lj9nr7x1xh06i60m7haip8as9dxs3q7z"; + }; + + nativeBuildInputs = [ installShellFiles pkg-config ]; + + buildInputs = [ libdatrie ]; + + postInstall = '' + installManPage man/man3/*.3 + ''; + + meta = with stdenv.lib; { + homepage = "https://linux.thai.net/projects/libthai/"; + description = "Set of Thai language support routines"; + license = licenses.lgpl21Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ SuperSandro2000 ]; + }; +} |