Files
nixpkgs/pkgs/development/python-modules/herepy/default.nix
T
2024-05-22 17:32:03 +02:00

45 lines
924 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
requests,
pytestCheckHook,
responses,
}:
buildPythonPackage rec {
pname = "herepy";
version = "3.6.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "abdullahselek";
repo = "HerePy";
rev = "refs/tags/${version}";
hash = "sha256-+DI9wjYVAUKdGEXWhbV9Xp0oOazcB+sS89ugIZuZM2w=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
nativeCheckInputs = [
pytestCheckHook
responses
];
pythonImportsCheck = [ "herepy" ];
meta = with lib; {
changelog = "https://github.com/abdullahselek/HerePy/releases/tag/${version}";
description = "Library that provides a Python interface to the HERE APIs";
homepage = "https://github.com/abdullahselek/HerePy";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}