1{ stdenv, buildPythonPackage, fetchPypi
2, nose, chai, simplejson
3, dateutil }:
4
5buildPythonPackage rec {
6 name = "${pname}-${version}";
7 pname = "arrow";
8 version = "0.10.0";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "08n7q2l69hlainds1byd4lxhwrq7zsw7s640zkqc3bs5jkq0cnc0";
13 };
14
15 checkPhase = ''
16 nosetests --cover-package=arrow
17 '';
18
19 buildInputs = [ nose chai simplejson ];
20 propagatedBuildInputs = [ dateutil ];
21
22 meta = with stdenv.lib; {
23 description = "Python library for date manipulation";
24 license = "apache";
25 maintainers = with maintainers; [ thoughtpolice ];
26 };
27}