3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/herepy/default.nix

44 lines
791 B
Nix
Raw Normal View History

2021-06-20 17:09:17 +01:00
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, requests
, pytestCheckHook
, responses
}:
buildPythonPackage rec {
pname = "herepy";
2021-10-30 19:40:46 +01:00
version = "3.5.6";
2021-10-25 05:32:01 +01:00
format = "setuptools";
2021-06-20 17:09:17 +01:00
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "abdullahselek";
repo = "HerePy";
rev = version;
2021-10-30 19:40:46 +01:00
sha256 = "sha256-I5u5PKB29jQNFdsx+y5ZJOE837D7Hpcsf3pwlCvmEqU=";
2021-06-20 17:09:17 +01:00
};
propagatedBuildInputs = [
requests
];
checkInputs = [
pytestCheckHook
responses
];
2021-10-25 05:32:01 +01:00
pythonImportsCheck = [
"herepy"
];
2021-06-20 17:09:17 +01: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 ];
};
}