python3Packages.graphite_beacon: fix deps, add nixos test

authored by

Jonathan Ringer and committed by
Jon
20034954 feda1d67

+10 -2
+10 -2
pkgs/development/python-modules/graphite_beacon/default.nix
··· 1 { stdenv, buildPythonPackage, fetchPypi 2 - , tornado, pyyaml, funcparserlib 3 }: 4 buildPythonPackage rec { 5 pname = "graphite_beacon"; 6 version = "0.27.0"; ··· 10 sha256 = "03bp4wyfn3xhcqyvs5hnk1n87m4smsmm1p7qp459m7j8hwpbq2ks"; 11 }; 12 13 - propagatedBuildInputs = [ tornado pyyaml funcparserlib ]; 14 15 postPatch = '' 16 substituteInPlace requirements.txt --replace "==" ">=" 17 ''; 18 19 meta = with stdenv.lib; { 20 description = "A simple alerting application for Graphite metrics";
··· 1 { stdenv, buildPythonPackage, fetchPypi 2 + , tornado_5, pyyaml, funcparserlib 3 + , nixosTests 4 }: 5 + 6 buildPythonPackage rec { 7 pname = "graphite_beacon"; 8 version = "0.27.0"; ··· 12 sha256 = "03bp4wyfn3xhcqyvs5hnk1n87m4smsmm1p7qp459m7j8hwpbq2ks"; 13 }; 14 15 + propagatedBuildInputs = [ tornado_5 pyyaml funcparserlib ]; 16 17 postPatch = '' 18 substituteInPlace requirements.txt --replace "==" ">=" 19 ''; 20 + 21 + pythonImportsCheck = [ "graphite_beacon" ]; 22 + 23 + passthru.tests = { 24 + nixos = nixosTests.graphite; 25 + }; 26 27 meta = with stdenv.lib; { 28 description = "A simple alerting application for Graphite metrics";