aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/staticjinja/default.nix
blob: 29fd116c0d590671899a0b61d89b0b3331ba96c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, fetchPypi
, buildPythonPackage
, docopt
, easywatch
, jinja2
}:

buildPythonPackage rec {
  pname = "staticjinja";
  version = "0.3.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "fbd61cca1dad44b6891d1a1d72b11ae100e21b3909802e3ff1861ab55bf16603";
  };

  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 ];
  };
}