2018-07-23 20:26:04 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2017-09-05 09:16:41 +00:00
|
|
|
, setuptools_scm
|
2018-07-23 20:26:04 +00:00
|
|
|
, six, pytz, jaraco_functools }:
|
2017-08-31 11:16:17 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-09-05 09:16:41 +00:00
|
|
|
pname = "tempora";
|
2018-07-22 10:22:13 +00:00
|
|
|
version = "1.13";
|
2017-08-31 11:16:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 10:22:13 +00:00
|
|
|
sha256 = "4848df474c9d7ad9515fbeaadc88e48843176b4b90393652156ccff613bcaeb1";
|
2017-08-31 11:16:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
|
2018-07-23 20:26:04 +00:00
|
|
|
propagatedBuildInputs = [ six pytz jaraco_functools ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Objects and routines pertaining to date and time";
|
|
|
|
homepage = https://github.com/jaraco/tempora;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2017-08-31 11:16:17 +00:00
|
|
|
}
|