mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
python3Packages.herepy: init at 3.5.2
This commit is contained in:
parent
92493fc7ce
commit
568f801bc8
2 changed files with 42 additions and 0 deletions
40
pkgs/development/python-modules/herepy/default.nix
Normal file
40
pkgs/development/python-modules/herepy/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchFromGitHub
|
||||||
|
, requests
|
||||||
|
, pytestCheckHook
|
||||||
|
, responses
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "herepy";
|
||||||
|
version = "3.5.2";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "abdullahselek";
|
||||||
|
repo = "HerePy";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0z1brgnrzdzfmnydipja4hhrhnz4fwdjy3xa05mz28bwi6z52bcj";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3208,6 +3208,8 @@ in {
|
||||||
inherit python;
|
inherit python;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
herepy = callPackage ../development/python-modules/herepy { };
|
||||||
|
|
||||||
hetzner = callPackage ../development/python-modules/hetzner { };
|
hetzner = callPackage ../development/python-modules/hetzner { };
|
||||||
|
|
||||||
heudiconv = callPackage ../development/python-modules/heudiconv { };
|
heudiconv = callPackage ../development/python-modules/heudiconv { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue