anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / translitcodec / default.nix
blob2b77a2fceb519f4d6be99f1a02c1c574e9627d87
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 let
10   pname = "translitcodec";
11   version = "0.7.0";
13 buildPythonPackage {
14   inherit pname version;
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "claudep";
22     repo = pname;
23     rev = "version-${version}";
24     hash = "sha256-/EKquTchx9i3fZqJ6AMzHYP9yCORvwbuUQ95WJQOQbI=";
25   };
27   nativeCheckInputs = [ pytestCheckHook ];
29   pythonImportsCheck = [ pname ];
31   meta = with lib; {
32     description = "Unicode to 8-bit charset transliteration codec";
33     homepage = "https://github.com/claudep/translitcodec";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ rycee ];
36   };