Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / chevron / default.nix
blob5f8cc321750858fdac5493c26a9b56c894d8fa15
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , python
5 }:
7 buildPythonPackage {
8   pname = "chevron";
9   version = "0.13.1";
11   # No tests available in the PyPI tarball
12   src = fetchFromGitHub {
13     owner = "noahmorrison";
14     repo = "chevron";
15     rev = "0.13.1";
16     sha256 = "0l1ik8dvi6bgyb3ym0w4ii9dh25nzy0x4yawf4zbcyvvcb6af470";
17   };
19   checkPhase = ''
20     ${python.interpreter} test_spec.py
21   '';
23   meta = with lib; {
24     homepage = "https://github.com/noahmorrison/chevron";
25     description = "A python implementation of the mustache templating language";
26     license = licenses.mit;
27     maintainers = with maintainers; [ dhkl ];
28   };