depot/third_party/nixpkgs/pkgs/development/python-modules/herepy/default.nix
Default email aa526eb20f Project import generated by Copybara.
GitOrigin-RevId: fcd48a5a0693f016a5c370460d0c2a8243b882dc
2022-03-10 11:12:11 -08:00

43 lines
789 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, requests
, pytestCheckHook
, responses
}:
buildPythonPackage rec {
pname = "herepy";
version = "3.5.7";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "abdullahselek";
repo = "HerePy";
rev = version;
hash = "sha256-iPFFEFGH3csqzDtBtLkVkUezObwiMHNbiD/mTgIrdpo=";
};
propagatedBuildInputs = [
requests
];
checkInputs = [
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 ];
};
}