Merge pull request #59088 from dhl/dhl/python-modules/chevron

pythonPackages.chevron: init at 0.13.1
This commit is contained in:
worldofpeace
2019-04-08 01:24:39 -04:00
committed by GitHub
3 changed files with 36 additions and 0 deletions

View File

@@ -1219,6 +1219,11 @@
github = "dgonyeo";
name = "Derek Gonyeo";
};
dhkl = {
email = "david@davidslab.com";
github = "dhl";
name = "David Leung";
};
dipinhora = {
email = "dipinhora+github@gmail.com";
github = "dipinhora";

View File

@@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, python
}:
buildPythonPackage rec {
pname = "chevron";
version = "0.13.1";
# No tests available in the PyPI tarball
src = fetchFromGitHub {
owner = "noahmorrison";
repo = "chevron";
rev = "0.13.1";
sha256 = "0l1ik8dvi6bgyb3ym0w4ii9dh25nzy0x4yawf4zbcyvvcb6af470";
};
checkPhase = ''
${python.interpreter} test_spec.py
'';
meta = with lib; {
homepage = https://github.com/noahmorrison/chevron;
description = "A python implementation of the mustache templating language";
license = licenses.mit;
maintainers = with maintainers; [ dhkl ];
};
}

View File

@@ -1177,6 +1177,8 @@ in {
cheroot = callPackage ../development/python-modules/cheroot {};
chevron = callPackage ../development/python-modules/chevron {};
cli-helpers = callPackage ../development/python-modules/cli-helpers {};
cmarkgfm = callPackage ../development/python-modules/cmarkgfm { };