2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, aenum
|
|
|
|
, aiodns
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
|
|
|
, cchardet
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pyopenssl
|
|
|
|
, pythonOlder
|
|
|
|
, pytz
|
|
|
|
, related
|
|
|
|
, requests
|
|
|
|
, uonet-request-signer-hebe
|
|
|
|
, yarl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "vulcan-api";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "2.1.1";
|
2021-12-06 16:07:01 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kapi2289";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-XYpQ1uqRmdqsGeKyHKGxFyXMN9HugTiPUx9tFUiGSpU=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aenum
|
|
|
|
aiodns
|
|
|
|
aiohttp
|
|
|
|
cchardet
|
|
|
|
pyopenssl
|
|
|
|
pytz
|
|
|
|
related
|
|
|
|
requests
|
|
|
|
uonet-request-signer-hebe
|
|
|
|
yarl
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"vulcan"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for UONET+ e-register API";
|
|
|
|
homepage = "https://vulcan-api.readthedocs.io/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|