nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 699 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6}: 7 8let 9 pname = "translitcodec"; 10 version = "0.7.0"; 11in 12buildPythonPackage { 13 inherit pname version; 14 15 format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "claudep"; 19 repo = "translitcodec"; 20 rev = "version-${version}"; 21 hash = "sha256-/EKquTchx9i3fZqJ6AMzHYP9yCORvwbuUQ95WJQOQbI="; 22 }; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ pname ]; 27 28 meta = { 29 description = "Unicode to 8-bit charset transliteration codec"; 30 homepage = "https://github.com/claudep/translitcodec"; 31 license = with lib.licenses; [ mit ]; 32 maintainers = with lib.maintainers; [ rycee ]; 33 }; 34}