depot/third_party/nixpkgs/pkgs/development/python-modules/anyascii/default.nix
Default email eaf6957cd3 Project import generated by Copybara.
GitOrigin-RevId: 4bb072f0a8b267613c127684e099a70e1f6ff106
2023-03-27 12:17:25 -07:00

30 lines
657 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "anyascii";
version = "0.3.2";
format = "setuptools";
disabled = pythonOlder "3.3";
src = fetchPypi {
inherit pname version;
hash = "sha256-nV0y74RP4iW4vHy6f5UFNPrk2iepvzpr6iyw6kbORzA=";
};
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
changelog = "https://github.com/anyascii/anyascii/blob/${version}/CHANGELOG.md";
description = "Unicode to ASCII transliteration";
homepage = "https://github.com/anyascii/anyascii";
license = licenses.isc;
maintainers = teams.tts.members;
};
}