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