18 buildPythonPackage rec {
19 pname = "cryptodatahub";
23 disabled = pythonOlder "3.7";
25 src = fetchFromGitLab {
27 repo = "cryptodatahub";
28 rev = "refs/tags/v${version}";
29 hash = "sha256-jYMzvh4tgfLS7Za0MYHbWbczptAvENfzfTEV9Drlfto=";
33 substituteInPlace requirements.txt \
34 --replace-fail "attrs>=20.3.0,<22.0.1" "attrs>=20.3.0"
37 build-system = [ setuptools ];
54 pythonImportsCheck = [ "cryptodatahub" ];
58 rm test/updaters/test_common.py
59 rm test/common/test_key.py
60 # Tests require network access
61 rm test/common/test_utils.py
65 description = "Repository of cryptography-related data";
66 homepage = "https://gitlab.com/coroner/cryptodatahub";
67 changelog = "https://gitlab.com/coroner/cryptodatahub/-/blob/${version}/CHANGELOG.rst";
68 license = licenses.mpl20;