938d9f5b39
Diff: https://github.com/abdullahselek/HerePy/compare/refs/tags/3.5.8...3.6.0 Changelog: https://github.com/abdullahselek/HerePy/releases/tag/3.6.0
43 lines
810 B
Nix
43 lines
810 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, requests
|
|
, pytestCheckHook
|
|
, responses
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "herepy";
|
|
version = "3.6.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "abdullahselek";
|
|
repo = "HerePy";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-wz6agxPKQvWobRIiYKYU2og33tzswd0qG1hawPCh1qI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
responses
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"herepy"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library that provides a Python interface to the HERE APIs";
|
|
homepage = "https://github.com/abdullahselek/HerePy";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|