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

26 lines
723 B
Nix
Raw Normal View History

2020-08-21 20:14:49 +01:00
{ 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
2020-08-26 16:23:27 +01:00
rev_version = stdenv.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 ];
2013-11-09 16:46:54 +00:00
meta = with stdenv.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 ];
};
}