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-09-22 12:36:57 +00:00
|
|
|
version = "2.2.1";
|
2021-12-06 16:07:01 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kapi2289";
|
|
|
|
repo = pname;
|
2022-09-11 15:47:08 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2022-09-22 12:36:57 +00:00
|
|
|
sha256 = "sha256-0V1skTJdiL04jVKsMb0Kysbw36bQ3EAJG3YT7ik36zQ=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|