mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 17:19:58 +00:00
Diff: https://github.com/abdullahselek/HerePy/compare/3.6.5...3.6.6 Changelog: https://github.com/abdullahselek/HerePy/releases/tag/3.6.6
42 lines
857 B
Nix
42 lines
857 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
requests,
|
|
pytestCheckHook,
|
|
responses,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "herepy";
|
|
version = "3.6.6";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "abdullahselek";
|
|
repo = "HerePy";
|
|
tag = version;
|
|
hash = "sha256-JJUfQClB4gExxqNfL8u//HCvnO049hm8n3zuRnB0sBE=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [ requests ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
responses
|
|
];
|
|
|
|
pythonImportsCheck = [ "herepy" ];
|
|
|
|
meta = {
|
|
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 = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|