depot/third_party/nixpkgs/pkgs/development/libraries/libunibreak/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
714 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "libunibreak";
version = "4.3";
src = let
rev_version = lib.replaceStrings ["."] ["_"] version;
in fetchFromGitHub {
owner = "adah1972";
repo = pname;
rev = "libunibreak_${rev_version}";
sha256 = "19g3ixs1ycisfdnzd8v7j5r49h0x0hshchk9qwlz4i0mjv825plx";
};
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 ];
};
}