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

41 lines
760 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, requests
, pytestCheckHook
, responses
}:
buildPythonPackage rec {
pname = "herepy";
version = "3.5.3";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "abdullahselek";
repo = "HerePy";
rev = version;
sha256 = "sha256-05x3EQoyv38j4UcixN0sf5BI2oTjfasAIQyZqQSjdPM=";
};
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 ];
};
}