Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / herepy / default.nix
blob379790d4b79b997aa822b70628f9298b2eb117cd
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , requests
6 , pytestCheckHook
7 , responses
8 }:
10 buildPythonPackage rec {
11   pname = "herepy";
12   version = "3.6.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.5";
17   src = fetchFromGitHub {
18     owner = "abdullahselek";
19     repo = "HerePy";
20     rev = "refs/tags/${version}";
21     hash = "sha256-wz6agxPKQvWobRIiYKYU2og33tzswd0qG1hawPCh1qI=";
22   };
24   propagatedBuildInputs = [
25     requests
26   ];
28   nativeCheckInputs = [
29     pytestCheckHook
30     responses
31   ];
33   pythonImportsCheck = [
34     "herepy"
35   ];
37   meta = with lib; {
38     description = "Library that provides a Python interface to the HERE APIs";
39     homepage = "https://github.com/abdullahselek/HerePy";
40     license = licenses.mit;
41     maintainers = with maintainers; [ dotlambda ];
42   };