Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy27, 6}: 7 8buildPythonPackage rec { 9 pname = "pychart"; 10 version = "1.39"; 11 format = "setuptools"; 12 13 disabled = !isPy27; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "882650928776a7ca72e67054a9e0ac98f78645f279c0cfb5910db28f03f07c2e"; 18 }; 19 20 meta = with lib; { 21 description = "Library for creating high quality encapsulated Postscript, PDF, PNG, or SVG charts"; 22 homepage = "https://pypi.python.org/pypi/PyChart"; 23 license = licenses.gpl2; 24 }; 25}