From cded73442f0f98588e04189cb1c06e1c37ef6936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mladen=20Brankovi=C4=87?= Date: Mon, 8 Sep 2025 16:31:49 +0200 Subject: [PATCH 1/2] maintainers: add imatpot --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 94f4899b4d51..b89ca4c30921 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -10956,6 +10956,12 @@ githubId = 993484; name = "Greg Hale"; }; + imatpot = { + email = "nixpkgs@brnk.vc"; + github = "imatpot"; + githubId = 39416660; + name = "Mladen Branković"; + }; imgabe = { email = "gabrielpmonte@hotmail.com"; github = "ImGabe"; From 370e97de6cd51a308de8827cd74e269e0c3af600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mladen=20Brankovi=C4=87?= Date: Sun, 21 Sep 2025 01:14:32 +0200 Subject: [PATCH 2/2] hyperglot: init at 0.7.3 --- .../python-modules/hyperglot/default.nix | 45 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + pkgs/top-level/python-packages.nix | 2 + 3 files changed, 49 insertions(+) create mode 100644 pkgs/development/python-modules/hyperglot/default.nix diff --git a/pkgs/development/python-modules/hyperglot/default.nix b/pkgs/development/python-modules/hyperglot/default.nix new file mode 100644 index 000000000000..1722f06a28ce --- /dev/null +++ b/pkgs/development/python-modules/hyperglot/default.nix @@ -0,0 +1,45 @@ +{ + lib, + nix-update-script, + fetchPypi, + buildPythonApplication, + setuptools, + click, + fonttools, + uharfbuzz, + pyyaml, + colorlog, +}: +buildPythonApplication rec { + pname = "hyperglot"; + version = "0.7.3"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-Pd9Yxmv9a1T2xV03q2U1m1laHE3WifHwmnGBfTTCSxM="; + }; + + dependencies = [ + click + fonttools + uharfbuzz + pyyaml + colorlog + ]; + + build-system = [ setuptools ]; + + pythonImportsCheck = [ "hyperglot" ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Database and tools for detecting language support in fonts"; + homepage = "https://hyperglot.rosettatype.com"; + changelog = "https://github.com/rosettatype/hyperglot/blob/${version}/CHANGELOG.md"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ imatpot ]; + mainProgram = "hyperglot"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5f7d72bf5914..b50a7f879110 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11341,6 +11341,8 @@ with pkgs; hyperion-ng = libsForQt5.callPackage ../applications/video/hyperion-ng { }; + hyperglot = with python3Packages; toPythonApplication hyperglot; + jackline = callPackage ../applications/networking/instant-messengers/jackline { ocamlPackages = ocaml-ng.ocamlPackages_4_14; }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 44fef07a0ef2..c96ff21556da 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6884,6 +6884,8 @@ self: super: with self; { hyperframe = callPackage ../development/python-modules/hyperframe { }; + hyperglot = callPackage ../development/python-modules/hyperglot { }; + hyperion-py = callPackage ../development/python-modules/hyperion-py { }; hyperlink = callPackage ../development/python-modules/hyperlink { };