1{ lib 2, fetchPypi 3, buildPythonPackage 4, six 5, cssselect 6, lxml 7, nose 8}: 9 10buildPythonPackage rec { 11 pname = "leather"; 12 version = "0.3.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "b43e21c8fa46b2679de8449f4d953c06418666dc058ce41055ee8a8d3bb40918"; 17 }; 18 19 propagatedBuildInputs = [ six ]; 20 21 nativeCheckInputs = [ 22 cssselect 23 lxml 24 nose 25 ]; 26 27 checkPhase = '' 28 runHook preCheck 29 nosetests 30 runHook postCheck 31 ''; 32 33 meta = with lib; { 34 homepage = "http://leather.rtfd.io"; 35 description = "Python charting library"; 36 license = licenses.mit; 37 platforms = platforms.all; 38 maintainers = with maintainers; [ vrthra ]; 39 }; 40}