b41113241d
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
57 lines
954 B
Nix
57 lines
954 B
Nix
{ lib
|
|
, aenum
|
|
, aiodns
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, cchardet
|
|
, fetchFromGitHub
|
|
, pyopenssl
|
|
, pythonOlder
|
|
, pytz
|
|
, related
|
|
, requests
|
|
, uonet-request-signer-hebe
|
|
, yarl
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "vulcan-api";
|
|
version = "2.2.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kapi2289";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-0V1skTJdiL04jVKsMb0Kysbw36bQ3EAJG3YT7ik36zQ=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|