Merge pull request #219915 from dotlambda/doorbirdpy-2.2.2
python310Packages.doorbirdpy: 2.2.1 -> 2.2.2
This commit is contained in:
commit
d46a7817b8
1 changed files with 13 additions and 11 deletions
|
@ -1,29 +1,31 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitLab
|
||||||
, requests
|
, requests
|
||||||
, pythonOlder
|
, pytestCheckHook
|
||||||
|
, requests-mock
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "doorbirdpy";
|
pname = "doorbirdpy";
|
||||||
version = "2.2.1";
|
version = "2.2.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
src = fetchFromGitLab {
|
||||||
|
owner = "klikini";
|
||||||
src = fetchPypi {
|
repo = "doorbirdpy";
|
||||||
pname = "DoorBirdPy";
|
rev = version;
|
||||||
inherit version;
|
hash = "sha256-pgL4JegD1gANefp7jLYb74N9wgpkDgQc/Fe+NyLBrkA=";
|
||||||
hash = "sha256-o6d8xXF5OuiF0B/wwYhDAZr05D84MuxHBY96G2XHILU=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
|
||||||
# no tests on PyPI, no tags on GitLab
|
nativeCheckInputs = [
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
requests-mock
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"doorbirdpy"
|
"doorbirdpy"
|
||||||
|
|
Loading…
Reference in a new issue