ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / herepy / default.nix
blob045910d8a1a8e52a495103ed40516114c6f0aa1a
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , requests
6 , pytestCheckHook
7 , responses
8 }:
10 buildPythonPackage rec {
11   pname = "herepy";
12   version = "3.5.8";
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-BwuH3GxEXiIFFM0na8Jhgp7J5TPW41/u89LWf+EprG4=";
22   };
24   propagatedBuildInputs = [
25     requests
26   ];
28   checkInputs = [
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   };