Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPyPy, 6 python, 7 python-dateutil, 8}: 9 10buildPythonPackage rec { 11 version = "0.9.7"; 12 format = "setuptools"; 13 pname = "vobject"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-q3J7+B3oiYStpcEfBm8eFkmQPT49fskfHOloFyr9UlY="; 18 }; 19 20 disabled = isPyPy; 21 22 propagatedBuildInputs = [ python-dateutil ]; 23 24 checkPhase = "${python.interpreter} tests.py"; 25 26 meta = with lib; { 27 description = "Module for reading vCard and vCalendar files"; 28 homepage = "http://eventable.github.io/vobject/"; 29 license = licenses.asl20; 30 maintainers = [ ]; 31 }; 32}