Skip to content

Commit

Permalink
pythonPackages.chevron: init at 0.13.1
Browse files Browse the repository at this point in the history
A Python implementation of mustache
  • Loading branch information
dhl committed Apr 8, 2019
1 parent cc26f5f commit 7033cf0
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/development/python-modules/chevron/default.nix
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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 { };
Expand Down

0 comments on commit 7033cf0

Please sign in to comment.