Merge pull request #29891 from woffs/unicode-paracode
unicode: init at 2.5
This commit is contained in:
commit
ac6bb506c6
30
pkgs/tools/misc/unicode/default.nix
Normal file
30
pkgs/tools/misc/unicode/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, fetchurl, python3Packages }:
|
||||||
|
|
||||||
|
python3Packages.buildPythonApplication rec {
|
||||||
|
name = "unicode-${version}";
|
||||||
|
version = "2.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "garabik";
|
||||||
|
repo = "unicode";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0vg1zshlzgdva8gzw6fya28fc4jhypjkj743x3q0yabx6934k0g2";
|
||||||
|
};
|
||||||
|
|
||||||
|
ucdtxt = fetchurl {
|
||||||
|
url = http://www.unicode.org/Public/11.0.0/ucd/UnicodeData-11.0.0d1.txt;
|
||||||
|
sha256 = "0y9l0sap7yq7c7c8d0fivzycqaw0zncbxzh1inggg42308z974rn";
|
||||||
|
};
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
substituteInPlace "$out/bin/.unicode-wrapped" \
|
||||||
|
--replace "/usr/share/unicode/UnicodeData.txt" "$ucdtxt"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Display unicode character properties";
|
||||||
|
homepage = https://github.com/garabik/unicode;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = [ maintainers.woffs ];
|
||||||
|
};
|
||||||
|
}
|
@ -19224,6 +19224,8 @@ with pkgs;
|
|||||||
|
|
||||||
utf8proc = callPackage ../development/libraries/utf8proc { };
|
utf8proc = callPackage ../development/libraries/utf8proc { };
|
||||||
|
|
||||||
|
unicode-paracode = callPackage ../tools/misc/unicode { };
|
||||||
|
|
||||||
valauncher = callPackage ../applications/misc/valauncher { };
|
valauncher = callPackage ../applications/misc/valauncher { };
|
||||||
|
|
||||||
vault = callPackage ../tools/security/vault { };
|
vault = callPackage ../tools/security/vault { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user