81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
25 lines
713 B
Nix
25 lines
713 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libunibreak";
|
|
version = "5.0";
|
|
|
|
src = let
|
|
rev_version = lib.replaceStrings ["."] ["_"] version;
|
|
in fetchFromGitHub {
|
|
owner = "adah1972";
|
|
repo = pname;
|
|
rev = "libunibreak_${rev_version}";
|
|
sha256 = "sha256-ju+DNCzwD+y/ebLVBU96iNpE1Wt7/K0qLcZHzWGzrWQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/adah1972/libunibreak";
|
|
description = "Implementation of line breaking and word breaking algorithms as in the Unicode standard";
|
|
license = licenses.zlib;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.coroa ];
|
|
};
|
|
}
|