nixpkgs/pkgs/development/python-modules/herepy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
810 B
Nix
Raw Normal View History

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