pythonPackages.graphite_api: fix testing, make more nix-shell friendly

+9 -3
+9 -3
pkgs/top-level/python-packages.nix
··· 10336 10336 sha256 = "41b90d5f35e99a020a6b1b77938690652521d1841b3165574fcfcee807ce4e6a"; 10337 10337 }; 10338 10338 10339 - # ImportError: No module named tests 10340 - doCheck = false; 10339 + checkPhase = "nosetests"; 10341 10340 10342 10341 propagatedBuildInputs = [ 10343 10342 flask ··· 10352 10351 tzlocal 10353 10352 ]; 10354 10353 10354 + buildInputs = [ 10355 + nose 10356 + mock 10357 + ]; 10358 + 10359 + LD_LIBRARY_PATH = "${pkgs.cairo}/lib"; 10360 + 10355 10361 meta = { 10356 - description = "Graphite-web, without the interface. Just the rendering HTTP API."; 10362 + description = "Graphite-web, without the interface. Just the rendering HTTP API."; 10357 10363 homepage = https://github.com/brutasse/graphite-api; 10358 10364 license = licenses.asl20; 10359 10365 };