depot/third_party/nixpkgs/pkgs/development/python-modules/vulcan-api/default.nix

58 lines
964 B
Nix
Raw Normal View History

{ 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.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "kapi2289";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-5Tj611p4wYn7GjoCtCTRhUZkKyAJglHcci76ciVFWik=";
};
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/";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}