python3Packages.pykeyatome: init at 1.1.2
This commit is contained in:
parent
2707eaa112
commit
47d6b71b4c
2 changed files with 61 additions and 0 deletions
59
pkgs/development/python-modules/pykeyatome/default.nix
Normal file
59
pkgs/development/python-modules/pykeyatome/default.nix
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fake-useragent
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-aiohttp
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
, requests-mock
|
||||||
|
, responses
|
||||||
|
, simplejson
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pykeyatome";
|
||||||
|
version = "1.1.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jugla";
|
||||||
|
repo = "pyKeyAtome";
|
||||||
|
rev = "V${version}";
|
||||||
|
sha256 = "sha256-5aKZaS+BFKR1ldAY3BlS/oqYGz1C+ZRkNL9ez/etWh4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
fake-useragent
|
||||||
|
requests
|
||||||
|
simplejson
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-aiohttp
|
||||||
|
pytestCheckHook
|
||||||
|
requests-mock
|
||||||
|
responses
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Tests require network access
|
||||||
|
"test_consumption"
|
||||||
|
"test_get_live"
|
||||||
|
"test_login"
|
||||||
|
"test_relog_after_session_down"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pykeyatome"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module to get data from Atome Key";
|
||||||
|
homepage = "hhttps://github.com/jugla/pyKeyAtome";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6674,6 +6674,8 @@ in {
|
||||||
|
|
||||||
pykerberos = callPackage ../development/python-modules/pykerberos { };
|
pykerberos = callPackage ../development/python-modules/pykerberos { };
|
||||||
|
|
||||||
|
pykeyatome = callPackage ../development/python-modules/pykeyatome { };
|
||||||
|
|
||||||
pykira = callPackage ../development/python-modules/pykira { };
|
pykira = callPackage ../development/python-modules/pykira { };
|
||||||
|
|
||||||
pykka = callPackage ../development/python-modules/pykka { };
|
pykka = callPackage ../development/python-modules/pykka { };
|
||||||
|
|
Loading…
Reference in a new issue