10 buildPythonPackage rec {
11 pname = "pycountry-convert";
16 inherit pname version;
17 hash = "sha256-CV0xD3Rr8qXvcTs6gu6iiicmIoYiN2Wx576KXE+n6bk=";
21 substituteInPlace setup.py \
22 --replace-fail "pytest-runner" ""
25 build-system = [ setuptools ];
35 propagatedBuildInputs = [
40 pythonImportsCheck = [ "pycountry_convert" ];
42 # upstream has no tests
46 description = "Python conversion functions between ISO country codes, countries, and continents";
47 homepage = "https://github.com/jefftune/pycountry-convert";
48 license = lib.licenses.mit;
49 maintainers = with lib.maintainers; [ dotlambda ];