2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-15 21:38:24 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, arrow
|
|
|
|
, jinja2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "0.2.0";
|
|
|
|
pname = "jinja2-time";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ arrow jinja2 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/hackebrot/jinja2-time";
|
2018-10-15 21:38:24 +01:00
|
|
|
description = "Jinja2 Extension for Dates and Times";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|