1 { lib, fetchFromGitHub, fetchurl, python3Packages, installShellFiles, gitUpdater }:
3 python3Packages.buildPythonApplication rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-FHAlZ5HID/FE9+YR7Dmc3Uh7E16QKORoD8g9jgTeQdY=";
15 url = "https://www.unicode.org/Public/15.0.0/ucd/UnicodeData.txt";
16 sha256 = "sha256-gG6a7WUDcZfx7IXhK+bozYcPxWCLTeD//ZkPaJ83anM=";
19 nativeBuildInputs = [ installShellFiles ];
22 substituteInPlace "$out/bin/.unicode-wrapped" \
23 --replace "/usr/share/unicode/UnicodeData.txt" "$ucdtxt"
27 installManPage paracode.1 unicode.1
30 passthru.updateScript = gitUpdater {
35 description = "Display unicode character properties";
36 homepage = "https://github.com/garabik/unicode";
37 license = licenses.gpl3;
38 maintainers = [ maintainers.woffs ];
39 platforms = platforms.all;