nixpkgs/pkgs/by-name/li/libunibreak/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
713 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "libunibreak";
2024-03-06 05:30:28 +00:00
version = "6.1";
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}";
2024-03-06 05:30:28 +00:00
sha256 = "sha256-8yheb+XSvc1AqITjSutF+/4OWb4+7hweedKzhKJcE1Y=";
};
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 ];
};
}