Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 70 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ lib, asn1crypto, attrs, beautifulsoup4, buildPythonPackage, fetchFromGitLab, pyfakefs, pytestCheckHook, python-dateutil, setuptools, setuptools-scm, urllib3,}:
buildPythonPackage (finalAttrs: { pname = "cryptodatahub"; version = "1.1.0"; pyproject = true;
src = fetchFromGitLab { owner = "coroner"; repo = "cryptodatahub"; tag = "v${finalAttrs.version}"; hash = "sha256-Tz2VbWS5/sGjRsOKR7eWpWAJVNv1QMSjkepI7fVZq6w="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ asn1crypto attrs python-dateutil urllib3 ];
nativeCheckInputs = [ beautifulsoup4 pyfakefs pytestCheckHook ];
pythonImportsCheck = [ "cryptodatahub" ];
disabledTests = [ # fails due to certificate expiry # see https://gitlab.com/coroner/cryptodatahub/-/work_items/38 "test_validity" # pytest incorrectly collects abstract base classes "TestClasses" ];
disabledTestPaths = [ # failing tests "test/updaters/test_common.py" # Tests require network access "test/common/test_utils.py" ];
meta = { description = "Repository of cryptography-related data"; homepage = "https://gitlab.com/coroner/cryptodatahub"; changelog = "https://gitlab.com/coroner/cryptodatahub/-/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; license = lib.licenses.mpl20; teams = with lib.teams; [ ngi ]; };})