mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
27 lines
662 B
Nix
27 lines
662 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, nose, chai, simplejson, backports_functools_lru_cache
|
|
, dateutil }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "arrow";
|
|
version = "0.12.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a15ecfddf334316e3ac8695e48c15d1be0d6038603b33043930dcf0e675c86ee";
|
|
};
|
|
|
|
checkPhase = ''
|
|
nosetests --cover-package=arrow
|
|
'';
|
|
|
|
checkInputs = [ nose chai simplejson ];
|
|
propagatedBuildInputs = [ dateutil backports_functools_lru_cache ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python library for date manipulation";
|
|
license = "apache";
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
|
};
|
|
}
|