summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/chevron
diff options
context:
space:
mode:
authorDavid Leung <david@davidslab.com>2019-04-07 21:11:01 +0800
committerDavid Leung <david@davidslab.com>2019-04-08 13:19:01 +0800
commit7033cf04dddaadcc04d777495e63fde8ad119bd7 (patch)
treed3c5bbf8e22ce52590d3840fe498c4c962c58fb1 /pkgs/development/python-modules/chevron
parentmaintainers: add dhkl (diff)
downloadnixpkgs-7033cf04dddaadcc04d777495e63fde8ad119bd7.tar.gz
pythonPackages.chevron: init at 0.13.1
A Python implementation of mustache
Diffstat (limited to 'pkgs/development/python-modules/chevron')
-rw-r--r--pkgs/development/python-modules/chevron/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/chevron/default.nix b/pkgs/development/python-modules/chevron/default.nix
new file mode 100644
index 000000000000..c6338fce56bc
--- /dev/null
+++ b/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 ];
+ };
+}