2022-09-09 14:08:57 +00:00
|
|
|
{ lib, buildPythonPackage, unittestCheckHook, fetchPypi, isPy3k, glibcLocales }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pystache";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "0.6.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "93bf92b2149a4c4b58d12142e2c4c6dd5c08d89e4c95afccd4b6efe2ee1d470d";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
|
|
|
# SyntaxError Python 3
|
|
|
|
# https://github.com/defunkt/pystache/issues/181
|
|
|
|
doCheck = !isPy3k;
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
2022-09-09 14:08:57 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A framework-agnostic, logic-free templating system inspired by ctemplate and et";
|
|
|
|
homepage = "https://github.com/defunkt/pystache";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|