mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #129029 from fabaff/bump-emoji
python3Packages.emoji: 1.2.0 -> 1.4.0
This commit is contained in:
commit
543cde391a
@ -1,21 +1,33 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, nose }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "emoji";
|
||||
version = "1.2.0";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "18siknldyqvxvjf0nv18m0a1c26ahkg7vmhkij1qayanb0h46vs9";
|
||||
src = fetchFromGitHub {
|
||||
owner = "carpedm20";
|
||||
repo = pname;
|
||||
rev = "v.${version}";
|
||||
sha256 = "0xksxdld20sh3c2s6pry1fm2br9xq8ypdq5pf971fpg5pk2f4iy9";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkPhase = "nosetests";
|
||||
disabledTests = [
|
||||
"test_emojize_name_only"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "emoji" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Emoji for Python";
|
||||
homepage = "https://pypi.python.org/pypi/emoji/";
|
||||
homepage = "https://github.com/carpedm20/emoji/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ joachifm ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user