nixpkgs/pkgs/development/libraries/libunibreak/default.nix

26 lines
714 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "libunibreak";
2020-08-21 20:14:49 +01:00
version = "4.3";
2020-08-21 20:14:49 +01:00
src = let
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";
};
2020-08-21 20:14:49 +01:00
nativeBuildInputs = [ autoreconfHook ];
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;
maintainers = [ maintainers.coroa ];
};
}