Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 834 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "emoji"; 12 version = "2.14.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "carpedm20"; 19 repo = "emoji"; 20 tag = "v${version}"; 21 hash = "sha256-Q1zvPL2kpG0tKsFFumoA+I0NwtqDLczYLL5skZ6g810="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 disabledTests = [ "test_emojize_name_only" ]; 29 30 pythonImportsCheck = [ "emoji" ]; 31 32 meta = with lib; { 33 description = "Emoji for Python"; 34 homepage = "https://github.com/carpedm20/emoji/"; 35 changelog = "https://github.com/carpedm20/emoji/blob/${src.tag}/CHANGES.md"; 36 license = licenses.bsd3; 37 maintainers = with maintainers; [ joachifm ]; 38 }; 39}