1 { buildPythonPackage, fetchFromGitHub, lib, flask, flask-caching, cairocffi, pyparsing, pytz, pyyaml
2 , raven, six, structlog, tzlocal, nose, mock, cairo, isPyPy
5 buildPythonPackage rec {
6 pname = "graphite-api";
11 src = fetchFromGitHub {
13 repo = "graphite-api";
15 sha256 = "0sz3kav2024ms2z4q03pigcf080gsr5v774z9bp3zw29k2p47ass";
18 # https://github.com/brutasse/graphite-api/pull/239 rebased onto 1.1.3
19 patches = [ ./flask-caching-rebased.patch ];
21 checkPhase = "nosetests";
23 propagatedBuildInputs = [
36 checkInputs = [ nose mock ];
38 LD_LIBRARY_PATH = "${cairo.out}/lib";
41 description = "Graphite-web, without the interface. Just the rendering HTTP API";
42 homepage = "https://github.com/brutasse/graphite-api";
43 license = licenses.asl20;