2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libunibreak";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "6.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
src = let
|
2021-02-05 17:12:51 +00:00
|
|
|
rev_version = lib.replaceStrings ["."] ["_"] version;
|
2020-09-25 04:45:31 +00:00
|
|
|
in fetchFromGitHub {
|
|
|
|
owner = "adah1972";
|
|
|
|
repo = pname;
|
|
|
|
rev = "libunibreak_${rev_version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-8yheb+XSvc1AqITjSutF+/4OWb4+7hweedKzhKJcE1Y=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
homepage = "https://github.com/adah1972/libunibreak";
|
|
|
|
description = "Implementation of line breaking and word breaking algorithms as in the Unicode standard";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.coroa ];
|
|
|
|
};
|
|
|
|
}
|