81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
34 lines
636 B
Nix
34 lines
636 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "emoji";
|
|
version = "1.6.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "carpedm20";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-0QOtsHGhqbjaEDpSbUXdE8+u6xzWbrTexx+BAeYwKa8=";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTests = [
|
|
"test_emojize_name_only"
|
|
];
|
|
|
|
pythonImportsCheck = [ "emoji" ];
|
|
|
|
meta = with lib; {
|
|
description = "Emoji for Python";
|
|
homepage = "https://github.com/carpedm20/emoji/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ joachifm ];
|
|
};
|
|
}
|