Files
nixpkgs/pkgs/development/python-modules/herepy/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

45 lines
907 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
requests,
pytestCheckHook,
responses,
}:
buildPythonPackage rec {
pname = "herepy";
version = "3.6.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "abdullahselek";
repo = "HerePy";
tag = version;
hash = "sha256-8DwzzC0sTrGnMpuADc55HCIeH/KyWacv8X+Ubh+n7ZM=";
};
build-system = [ setuptools ];
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 ];
};
}