f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
60 lines
1.1 KiB
Nix
60 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
aenum,
|
|
aiodns,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
faust-cchardet,
|
|
fetchFromGitHub,
|
|
pyopenssl,
|
|
pythonOlder,
|
|
pytz,
|
|
related,
|
|
requests,
|
|
uonet-request-signer-hebe,
|
|
yarl,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "vulcan-api";
|
|
version = "2.3.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kapi2289";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-ebWKcRxAAkHVqV2RaftIHBRJe/TYSUxS+5Utxb0yhtw=";
|
|
};
|
|
|
|
pythonRemoveDeps = [ "faust-cchardet" ];
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
aenum
|
|
aiodns
|
|
aiohttp
|
|
faust-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/";
|
|
changelog = "https://github.com/kapi2289/vulcan-api/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|