16 buildPythonPackage rec {
21 disabled = pythonOlder "3.10";
24 inherit pname version;
25 hash = "sha256-wTtbqRHMWBcM2iFN95yzwCf/BQ+EK0vp5MXT4mKX3lw=";
28 # Carbon-s default installation is /opt/graphite. This env variable ensures
29 # carbon is installed as a regular Python module.
30 GRAPHITE_NO_PREFIX = "True";
33 substituteInPlace setup.py \
34 --replace-fail "cf.readfp(f, 'setup.cfg')" "cf.read(f, 'setup.cfg')"
37 build-system = [ setuptools ];
47 # Tests are not shipped with PyPI
51 inherit (nixosTests) graphite;
54 pythonImportsCheck = [ "carbon" ];
57 description = "Backend data caching and persistence daemon for Graphite";
58 homepage = "https://github.com/graphite-project/carbon";
59 changelog = "https://github.com/graphite-project/carbon/releases/tag/${version}";
60 license = licenses.asl20;
61 maintainers = with maintainers; [