python3Packages.country-list: init at 1.1.0
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "country-list";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bulv1ne";
|
||||
repo = "country_list";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-jG2AC8c6mgWjHVBX7XW021PLPliLTwEBkN6+HSecfL4=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"country_list"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "List of all countries with names and ISO 3166-1 codes in all languages";
|
||||
homepage = "https://github.com/bulv1ne/country_list";
|
||||
changelog = "https://github.com/bulv1ne/country_list/blob/${src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ urbas ];
|
||||
};
|
||||
}
|
||||
@@ -3136,6 +3136,8 @@ self: super: with self; {
|
||||
|
||||
cot = callPackage ../development/python-modules/cot { inherit (pkgs) qemu; };
|
||||
|
||||
country-list = callPackage ../development/python-modules/country-list { };
|
||||
|
||||
countryguess = callPackage ../development/python-modules/countryguess { };
|
||||
|
||||
courlan = callPackage ../development/python-modules/courlan { };
|
||||
|
||||
Reference in New Issue
Block a user