libdatrie: init at 0.2.12

This commit is contained in:
Sandro Jäckel 2020-10-29 18:06:04 +01:00
parent 6a1782986d
commit 6b72fd5c3b
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchurl, makeWrapper, installShellFiles, pkg-config, libiconv }:
stdenv.mkDerivation rec {
pname = "libdatrie";
version = "0.2.12";
src = fetchurl {
url = "https://github.com/tlwg/libdatrie/releases/download/v${version}/libdatrie-${version}.tar.xz";
sha256 = "0jdi01pcxv0b24zbjy7zahawsqqqw4mv94f2yy01zh4n796wqba5";
};
nativeBuildInputs = [ installShellFiles pkg-config ];
buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
postInstall = ''
installManPage man/trietool.1
'';
meta = with stdenv.lib;{
homepage = "https://linux.thai.net/~thep/datrie/datrie.html";
description = "This is an implementation of double-array structure for representing trie";
license = licenses.lgpl21Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -13500,6 +13500,8 @@ in
libdap = callPackage ../development/libraries/libdap { };
libdatrie = callPackage ../development/libraries/libdatrie { };
libdazzle = callPackage ../development/libraries/libdazzle { };
libdbi = callPackage ../development/libraries/libdbi { };