1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/chevron/default.nix
David Leung 7033cf04dd
pythonPackages.chevron: init at 0.13.1
A Python implementation of mustache
2019-04-08 13:19:01 +08:00

30 lines
644 B
Nix

{ 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 ];
};
}