{ lib, buildPythonPackage, fetchFromGitHub, # build-system setuptools-scm, # dependencies pyyaml, requests, }: buildPythonPackage rec { pname = "scikit-hep-testdata"; version = "0.6.0"; pyproject = true; src = fetchFromGitHub { owner = "scikit-hep"; repo = "scikit-hep-testdata"; tag = "v${version}"; hash = "sha256-mefyBbZRHNwCApnkhB0xrTLiQl9G+JsVNEaW2PDa6AM="; }; build-system = [ setuptools-scm ]; dependencies = [ pyyaml requests ]; SKHEP_DATA = 1; # install the actual root files doCheck = false; # tests require networking pythonImportsCheck = [ "skhep_testdata" ]; meta = { homepage = "https://github.com/scikit-hep/scikit-hep-testdata"; description = "Common package to provide example files (e.g., ROOT) for testing and developing packages against"; changelog = "https://github.com/scikit-hep/scikit-hep-testdata/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ veprbl ]; }; }