16 buildPythonPackage rec {
17 pname = "scikit-hep-testdata";
21 src = fetchFromGitHub {
23 repo = "scikit-hep-testdata";
25 hash = "sha256-yG9ZeBKB0NcTZ8zU0iJTSwDvaafD+2FzkDk2dVYSJO8=";
28 build-system = [ setuptools-scm ];
33 ] ++ lib.optionals (!pythonAtLeast "3.9") [ importlib-resources ];
35 SKHEP_DATA = 1; # install the actual root files
37 doCheck = false; # tests require networking
39 pythonImportsCheck = [ "skhep_testdata" ];
42 homepage = "https://github.com/scikit-hep/scikit-hep-testdata";
43 description = "Common package to provide example files (e.g., ROOT) for testing and developing packages against";
44 changelog = "https://github.com/scikit-hep/scikit-hep-testdata/releases/tag/v${version}";
45 license = lib.licenses.bsd3;
46 maintainers = with lib.maintainers; [ veprbl ];