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
1 changed files with 5 additions and 6 deletions

View File

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