mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
pythonPackages.chevron: init at 0.13.1
A Python implementation of mustache
This commit is contained in:
parent
cc26f5fda9
commit
7033cf04dd
29
pkgs/development/python-modules/chevron/default.nix
Normal file
29
pkgs/development/python-modules/chevron/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user