1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, python 5}: 6 7buildPythonPackage { 8 pname = "chevron"; 9 version = "0.13.1"; 10 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 }; 18 19 checkPhase = '' 20 ${python.interpreter} test_spec.py 21 ''; 22 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 }; 29}