python: arrow: 0.10.0 -> 0.12.0
This commit is contained in:
parent
b4dda63590
commit
a7200d1d89
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue