nixpkgs/pkgs/development/python-modules/anyascii/default.nix

31 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;
};
}