python: arrow: 0.10.0 -> 0.12.0

This commit is contained in:
Frederik Rietdijk 2017-12-30 12:21:21 +01:00
parent b4dda63590
commit a7200d1d89

View File

@ -1,23 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi
, nose, chai, simplejson
, nose, chai, simplejson, backports_functools_lru_cache
, dateutil }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "arrow";
version = "0.10.0";
version = "0.12.0";
src = fetchPypi {
inherit pname version;
sha256 = "08n7q2l69hlainds1byd4lxhwrq7zsw7s640zkqc3bs5jkq0cnc0";
sha256 = "a15ecfddf334316e3ac8695e48c15d1be0d6038603b33043930dcf0e675c86ee";
};
checkPhase = ''
nosetests --cover-package=arrow
'';
buildInputs = [ nose chai simplejson ];
propagatedBuildInputs = [ dateutil ];
checkInputs = [ nose chai simplejson ];
propagatedBuildInputs = [ dateutil backports_functools_lru_cache ];
meta = with stdenv.lib; {
description = "Python library for date manipulation";