1{ lib 2, buildPythonPackage 3, fetchPypi 4, python 5, six 6}: 7 8buildPythonPackage rec { 9 pname = "isodate"; 10 version = "0.6.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "2e364a3d5759479cdb2d37cce6b9376ea504db2ff90252a2e5b7cc89cc9ff2d8"; 15 }; 16 17 propagatedBuildInputs = [ six ]; 18 19 checkPhase = '' 20 ${python.interpreter} -m unittest discover -s src/isodate/tests 21 ''; 22 23 meta = with lib; { 24 description = "ISO 8601 date/time parser"; 25 homepage = "http://cheeseshop.python.org/pypi/isodate"; 26 license = licenses.bsd0; 27 }; 28 29}