diff --git a/pkgs/development/python-modules/staticjinja/default.nix b/pkgs/development/python-modules/staticjinja/default.nix new file mode 100644 index 000000000000..a5b3b4fe8d49 --- /dev/null +++ b/pkgs/development/python-modules/staticjinja/default.nix @@ -0,0 +1,30 @@ +{ lib +, fetchPypi +, buildPythonPackage +, docopt +, easywatch +, jinja2 +}: + +buildPythonPackage rec { + pname = "staticjinja"; + version = "0.3.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "1mxv7yy35657mfxx9xhbzihh10m5lb29fmscfh9q455zd4ikr032"; + }; + + 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"; + homepage = https://staticjinja.readthedocs.io/en/latest/; + license = licenses.mit; + maintainers = with maintainers; [ fgaz ]; + }; +} + diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 716f0a85d2f1..d9295c58a22c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4006,6 +4006,8 @@ in { sqlalchemy_migrate = callPackage ../development/python-modules/sqlalchemy-migrate { }; + staticjinja = callPackage ../development/python-modules/staticjinja { }; + statsmodels = callPackage ../development/python-modules/statsmodels { }; structlog = callPackage ../development/python-modules/structlog { };