2018-12-21 17:25:29 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, docopt
|
|
|
|
, easywatch
|
|
|
|
, jinja2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "staticjinja";
|
2020-11-29 14:04:43 +00:00
|
|
|
version = "0.4.0";
|
2018-12-21 17:25:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:43 +00:00
|
|
|
sha256 = "597837899008409359680ee9cd04779639b9c0eb3380b6545025d26a702ba36c";
|
2018-12-21 17:25:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ jinja2 docopt easywatch ];
|
|
|
|
|
|
|
|
# There are no tests on pypi
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A library and cli tool that makes it easy to build static sites using Jinja2";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://staticjinja.readthedocs.io/en/latest/";
|
2018-12-21 17:25:29 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fgaz ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|