58 lines
937 B
Nix
58 lines
937 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.0.3";
|
||
|
format = "setuptools";
|
||
|
|
||
|
disabled = pythonOlder "3.6";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "kapi2289";
|
||
|
repo = pname;
|
||
|
rev = "v${version}";
|
||
|
sha256 = "YLt9yufOBlWRyo+le7HcaFD/s7V5WpvhMUrHJqyC3pY=";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|