at master 798 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 python, 6 setuptools, 7}: 8 9buildPythonPackage { 10 pname = "chevron"; 11 version = "0.14.0-unstable-2021-03-21"; 12 pyproject = true; 13 14 # No tests available in the PyPI tarball 15 src = fetchFromGitHub { 16 owner = "noahmorrison"; 17 repo = "chevron"; 18 rev = "5e1c12827b7fc3db30cb3b24cae9a7ee3092822b"; 19 hash = "sha256-44cxkliJJ+IozmhS4ekbb+pCa7tcUuX9tRNYTK0mC+w="; 20 }; 21 22 build-system = [ 23 setuptools 24 ]; 25 26 checkPhase = '' 27 ${python.interpreter} test_spec.py 28 ''; 29 30 meta = { 31 homepage = "https://github.com/noahmorrison/chevron"; 32 description = "Python implementation of the mustache templating language"; 33 mainProgram = "chevron"; 34 license = lib.licenses.mit; 35 maintainers = with lib.maintainers; [ dhkl ]; 36 }; 37}