nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 34 lines 636 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "emoji"; 9 version = "1.7.0"; 10 11 src = fetchFromGitHub { 12 owner = "carpedm20"; 13 repo = pname; 14 rev = "v${version}"; 15 sha256 = "sha256-vKQ51RP7uy57vP3dOnHZRSp/Wz+YDzeLUR8JnIELE/I="; 16 }; 17 18 checkInputs = [ 19 pytestCheckHook 20 ]; 21 22 disabledTests = [ 23 "test_emojize_name_only" 24 ]; 25 26 pythonImportsCheck = [ "emoji" ]; 27 28 meta = with lib; { 29 description = "Emoji for Python"; 30 homepage = "https://github.com/carpedm20/emoji/"; 31 license = licenses.bsd3; 32 maintainers = with maintainers; [ joachifm ]; 33 }; 34}