diff options
author | Gabriel Ebner <gebner@gebner.org> | 2020-08-21 21:14:49 +0200 |
---|---|---|
committer | Gabriel Ebner <gebner@gebner.org> | 2020-08-22 10:19:16 +0200 |
commit | be5c6c4425d4faf33b890b93ca3279651d92849b (patch) | |
tree | 62e475770fc214eda18733da9bbde94e1b32975b /pkgs/development/libraries/libunibreak | |
parent | 54acf58040890cf9449bea55b5693b42c13844b9 (diff) | |
download | nixpkgs-be5c6c4425d4faf33b890b93ca3279651d92849b.tar nixpkgs-be5c6c4425d4faf33b890b93ca3279651d92849b.tar.gz nixpkgs-be5c6c4425d4faf33b890b93ca3279651d92849b.tar.bz2 nixpkgs-be5c6c4425d4faf33b890b93ca3279651d92849b.tar.lz nixpkgs-be5c6c4425d4faf33b890b93ca3279651d92849b.tar.xz nixpkgs-be5c6c4425d4faf33b890b93ca3279651d92849b.tar.zst nixpkgs-be5c6c4425d4faf33b890b93ca3279651d92849b.zip |
libunibreak: 1.1 -> 4.3
Diffstat (limited to 'pkgs/development/libraries/libunibreak')
-rw-r--r-- | pkgs/development/libraries/libunibreak/default.nix | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/pkgs/development/libraries/libunibreak/default.nix b/pkgs/development/libraries/libunibreak/default.nix index 5b549176889..8c6650df3cb 100644 --- a/pkgs/development/libraries/libunibreak/default.nix +++ b/pkgs/development/libraries/libunibreak/default.nix @@ -1,17 +1,23 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchFromGitHub, autoreconfHook }: stdenv.mkDerivation rec { pname = "libunibreak"; - version = "1.1"; + version = "4.3"; - src = fetchurl { - url = "mirror://sourceforge/vimgadgets/libunibreak/${version}/${pname}-${version}.tar.gz"; - sha256 = "02657l426bk5d8h42b9ixxy1clc50mx4bzwg02nkdhs09wqw32wn"; + src = let + rev_version = stdenv.lib.replaceStrings ["-"] ["_"] version; + in fetchFromGitHub { + owner = "adah1972"; + repo = pname; + rev = "libunibreak_${rev_version}"; + sha256 = "19g3ixs1ycisfdnzd8v7j5r49h0x0hshchk9qwlz4i0mjv825plx"; }; + nativeBuildInputs = [ autoreconfHook ]; + meta = with stdenv.lib; { - homepage = "http://vimgadgets.sourceforge.net/libunibreak/"; - description = "A library implementing a line breaking algorithm as described in Unicode 6.0.0 Standard"; + 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 ]; |