1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "pycountry"; 9 version = "20.7.3"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "0hnbabsmqimx5hqh0jbd2f64i8fhzhhbrvid57048hs5sd9ll241"; 14 }; 15 16 checkInputs = [ 17 pytestCheckHook 18 ]; 19 20 pythonImportsCheck = [ 21 "pycountry" 22 ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/flyingcircusio/pycountry"; 26 description = "ISO country, subdivision, language, currency and script definitions and their translations"; 27 license = licenses.lgpl2; 28 maintainers = with maintainers; [ ]; 29 }; 30 31}