1{ lib
2, buildPythonPackage
3, unittestCheckHook
4, fetchPypi
5, pythonOlder
6, glibcLocales
7}:
8
9buildPythonPackage rec {
10 pname = "pystache";
11 version = "0.6.5";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-nyONWgbxiEPg1JHY5OKS3AP+1qVMsKXDS+N6P6qXMXQ=";
19 };
20
21 LC_ALL = "en_US.UTF-8";
22
23 buildInputs = [
24 glibcLocales
25 ];
26
27 nativeCheckInputs = [
28 unittestCheckHook
29 ];
30
31 pythonImportsCheck = [
32 "pystache"
33 ];
34
35 meta = with lib; {
36 description = "A framework-agnostic, logic-free templating system inspired by ctemplate and et";
37 homepage = "https://github.com/defunkt/pystache";
38 license = licenses.mit;
39 maintainers = with maintainers; [ ];
40 };
41}