Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / translitcodec / default.nix
blob20da4d3431c4c2848cea8bd5ef66783510b1ddcb
1 { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder }:
3 let
4   pname = "translitcodec";
5   version = "0.7.0";
6 in buildPythonPackage {
7   inherit pname version;
9   format = "setuptools";
11   disabled = pythonOlder "3.7";
13   src = fetchFromGitHub {
14     owner = "claudep";
15     repo = pname;
16     rev = "version-${version}";
17     hash = "sha256-/EKquTchx9i3fZqJ6AMzHYP9yCORvwbuUQ95WJQOQbI=";
18   };
20   nativeCheckInputs = [ pytestCheckHook ];
22   pythonImportsCheck = [ pname ];
24   meta = with lib; {
25     description = "Unicode to 8-bit charset transliteration codec";
26     homepage = "https://github.com/claudep/translitcodec";
27     license = with licenses; [ mit ];
28     maintainers = with maintainers; [ rycee ];
29   };