python3Packages.pygeocodio: init at 1.4.0

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2025-01-17 08:48:04 -05:00
parent bd5fadf56b
commit 7c4e1672a9
2 changed files with 48 additions and 0 deletions
@@ -0,0 +1,46 @@
{
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
View File
@@ -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 { };