1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-04 14:52:34 +03:00
nixpkgs/pkgs/development/python-modules/herepy/default.nix

44 lines
804 B
Nix
Raw Normal View History

2021-06-20 18:09:17 +02:00
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, requests
, pytestCheckHook
, responses
}:
buildPythonPackage rec {
pname = "herepy";
version = "3.5.8";
2021-10-25 06:32:01 +02:00
format = "setuptools";
2021-06-20 18:09:17 +02:00
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "abdullahselek";
repo = "HerePy";
rev = "refs/tags/${version}";
hash = "sha256-BwuH3GxEXiIFFM0na8Jhgp7J5TPW41/u89LWf+EprG4=";
2021-06-20 18:09:17 +02:00
};
propagatedBuildInputs = [
requests
];
checkInputs = [
pytestCheckHook
responses
];
2021-10-25 06:32:01 +02:00
pythonImportsCheck = [
"herepy"
];
2021-06-20 18:09:17 +02:00
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 ];
};
}