blob: 36161f8d16bcce7f15e8de105e3d2df2fde74aa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
emoji,
}:
buildPythonPackage rec {
pname = "emoji-country-flag";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "cvzi";
repo = "flag";
tag = "v${version}";
hash = "sha256-Te3RJ+rHkr3q93C7hLE5xCZz91QC2IsFR0FluVEJOv4=";
};
build-system = [
setuptools
];
doCheck = true;
nativeCheckInputs = [
pytestCheckHook
emoji
];
pythonImportsCheck = [ "flag" ];
meta = {
description = "Flag emoji from country codes for Python";
homepage = "https://github.com/cvzi/flag";
changelog = "https://github.com/cvzi/flag/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
skohtv
aleksana
];
};
}
|