2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2013-09-28 08:00:17 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libunibreak";
|
2020-08-21 20:14:49 +01:00
|
|
|
version = "4.3";
|
2013-09-28 08:00:17 +01:00
|
|
|
|
2020-08-21 20:14:49 +01:00
|
|
|
src = let
|
2021-01-21 17:00:13 +00:00
|
|
|
rev_version = lib.replaceStrings ["."] ["_"] version;
|
2020-08-21 20:14:49 +01:00
|
|
|
in fetchFromGitHub {
|
|
|
|
owner = "adah1972";
|
|
|
|
repo = pname;
|
|
|
|
rev = "libunibreak_${rev_version}";
|
|
|
|
sha256 = "19g3ixs1ycisfdnzd8v7j5r49h0x0hshchk9qwlz4i0mjv825plx";
|
2013-09-28 08:00:17 +01:00
|
|
|
};
|
|
|
|
|
2020-08-21 20:14:49 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-08-21 20:14:49 +01:00
|
|
|
homepage = "https://github.com/adah1972/libunibreak";
|
|
|
|
description = "Implementation of line breaking and word breaking algorithms as in the Unicode standard";
|
2013-11-09 16:46:54 +00:00
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.unix;
|
2014-04-23 13:26:16 +01:00
|
|
|
maintainers = [ maintainers.coroa ];
|
2013-09-28 08:00:17 +01:00
|
|
|
};
|
|
|
|
}
|