From 137f19d1d48b6d7c7901bb86729a2bce3588d4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 4 Sep 2021 19:49:55 +0200 Subject: [PATCH] python39Packages.isounidecode: init at 0.3 --- .../python-modules/isounidecode/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/isounidecode/default.nix diff --git a/pkgs/development/python-modules/isounidecode/default.nix b/pkgs/development/python-modules/isounidecode/default.nix new file mode 100644 index 000000000000..388b7be391e0 --- /dev/null +++ b/pkgs/development/python-modules/isounidecode/default.nix @@ -0,0 +1,23 @@ +{ lib, buildPythonPackage, fetchPypi }: + +buildPythonPackage rec { + pname = "isounidecode"; + version = "0.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-TbCpYsY0GCbJpprKq8L5I6WxJNU6M1voku8pFzvDHFs="; + }; + + pythonImportsCheck = [ "isounidecode" ]; + + # no real tests included, fails to run + doCheck = false; + + meta = with lib; { + description = "Python package for conversion and transliteration of unicode into ascii or iso-8859-1"; + homepage = "https://github.com/redvasily/isounidecode"; + license = licenses.bsd3; + maintainers = with maintainers; [ SuperSandro2000 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index dcd3f7d2312a..aa754138daf1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3692,6 +3692,8 @@ in { isort = callPackage ../development/python-modules/isort { }; + isounidecode = callPackage ../development/python-modules/isounidecode { }; + isoweek = callPackage ../development/python-modules/isoweek { }; itanium_demangler = callPackage ../development/python-modules/itanium_demangler { };