commit 8cdae9807faf618a223102fd5986ecb34374fcee parent afbceca11efe60928574565a494304a2a7398393 Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Mon, 18 Jan 2021 09:31:14 +0300 Add cjkwrap Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/development/python-modules/cjkwrap/default.nix | | | 19 | +++++++++++++++++++ |
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -128,6 +128,7 @@ lib.makeScope newScope ( ### DEVELOPMENT / PYTHON MODULES + cjkwrap = callPackage ./development/python-modules/cjkwrap { }; bson = callPackage ./development/python-modules/bson { }; cheetah3 = callPackage ./development/python-modules/cheetah3 { }; click-6-7 = callPackage ./development/python-modules/click { }; diff --git a/pkgs/development/python-modules/cjkwrap/default.nix b/pkgs/development/python-modules/cjkwrap/default.nix @@ -0,0 +1,19 @@ +{ lib, python3Packages }: + +python3Packages.buildPythonPackage rec { + pname = "CJKwrap"; + version = "2.2"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "1b603sg6c2gv9vmlxwr6r1qvhadqk3qp6vifmijris504zjx5ix2"; + }; + + meta = with lib; { + description = "A library for wrapping and filling UTF-8 CJK text"; + homepage = "https://f.gallai.re/cjkwrap"; + license = licenses.lgpl3Plus; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}