python3Packages.cyrtranslit: init at 1.1.1

This commit is contained in:
Kerstin Humm
2024-08-19 16:10:40 +02:00
committed by Valentin Gagarin
parent df1166e392
commit 9e157550d0
2 changed files with 37 additions and 0 deletions
@@ -0,0 +1,35 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "cyrtranslit";
version = "1.1.1";
pyproject = true;
# Pypi tarball doesn't contain tests/
src = fetchFromGitHub {
owner = "opendatakosovo";
repo = "cyrillic-transliteration";
rev = "v${version}";
sha256 = "sha256-t8UTOmjGqjmxU7+Po0/HmOPWAvcgZibaUC9dMlttA/0=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "cyrtranslit" ];
meta = with lib; {
description = "Transliterate Cyrillic script to Latin script and vice versa";
homepage = "https://github.com/opendatakosovo/cyrillic-transliteration";
license = licenses.mit;
maintainers = with maintainers; [ erictapen ];
};
}
+2
View File
@@ -2761,6 +2761,8 @@ self: super: with self; {
cypherpunkpay = callPackage ../development/python-modules/cypherpunkpay { };
cyrtranslit = callPackage ../development/python-modules/cyrtranslit { };
cysignals = callPackage ../development/python-modules/cysignals { };
cython = callPackage ../development/python-modules/cython { };