Something went wrong. Try again.
lol
Something went wrong. Try again.
935 B · 49 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ 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 ]; };}