pythonPackages.jinja2_time: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-15 16:38:24 -04:00
committed by Frederik Rietdijk
parent 1ff519e090
commit e137ac1db9
2 changed files with 26 additions and 17 deletions

View File

@@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, arrow
, jinja2
}:
buildPythonPackage rec {
version = "0.2.0";
pname = "jinja2-time";
src = fetchPypi {
inherit pname version;
sha256 = "0h0dr7cfpjnjj8bgl2vk9063a53649pn37wnlkd8hxjy656slkni";
};
propagatedBuildInputs = [ arrow jinja2 ];
meta = with stdenv.lib; {
homepage = https://github.com/hackebrot/jinja2-time;
description = "Jinja2 Extension for Dates and Times";
license = licenses.mit;
};
}