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

35 lines
638 B
Nix
Raw Normal View History

2021-07-02 22:10:08 +02:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
2017-05-25 17:07:59 +02:00
buildPythonPackage rec {
pname = "emoji";
2021-07-02 22:10:08 +02:00
version = "1.4.0";
2017-05-25 17:07:59 +02:00
2021-07-02 22:10:08 +02:00
src = fetchFromGitHub {
owner = "carpedm20";
repo = pname;
rev = "v.${version}";
sha256 = "0xksxdld20sh3c2s6pry1fm2br9xq8ypdq5pf971fpg5pk2f4iy9";
2017-05-25 17:07:59 +02:00
};
2021-07-02 22:10:08 +02:00
checkInputs = [
pytestCheckHook
];
2017-05-25 17:07:59 +02:00
2021-07-02 22:10:08 +02:00
disabledTests = [
"test_emojize_name_only"
];
pythonImportsCheck = [ "emoji" ];
2017-05-25 17:07:59 +02:00
meta = with lib; {
description = "Emoji for Python";
2021-07-02 22:10:08 +02:00
homepage = "https://github.com/carpedm20/emoji/";
2017-05-25 17:07:59 +02:00
license = licenses.bsd3;
maintainers = with maintainers; [ joachifm ];
};
}