Unverified Commit 7c4e1672 authored by Ethan Carter Edwards's avatar Ethan Carter Edwards
Browse files

python3Packages.pygeocodio: init at 1.4.0

parent bd5fadf5
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  requests,
  pytestCheckHook,
  httpretty,
}:

buildPythonPackage rec {
  pname = "pygeocodio";
  version = "1.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "bennylope";
    repo = "pygeocodio";
    tag = "v${version}";
    hash = "sha256-s6sY+iHuWv7+6ydxDWoN9eKiAXw0jeASWiMtz12TTHo=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    requests
    httpretty
  ];

  pythonImportsCheck = [ "geocodio" ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    description = "Python wrapper for the Geocodio geolocation service API";
    downloadPage = "https://github.com/bennylope/pygeocodio/tree/master";
    changelog = "https://github.com/bennylope/pygeocodio/blob/v${version}/HISTORY.rst";
    homepage = "https://www.geocod.io/docs/#introduction";
    license = with lib.licenses; [ bsd3 ];
    maintainers = with lib.maintainers; [ ethancedwards8 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -11777,6 +11777,8 @@ self: super: with self; {
  pygdbmi = callPackage ../development/python-modules/pygdbmi { };
  pygeocodio = callPackage ../development/python-modules/pygeocodio { };
  pygetwindow = callPackage ../development/python-modules/pygetwindow { };
  pygit2 = callPackage ../development/python-modules/pygit2 { };