python312Packages.pystache: 0.6.5 -> 0.6.6 (#365266)
This commit is contained in:
@@ -1,36 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
unittestCheckHook,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
glibcLocales,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
importlib-metadata,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pystache";
|
||||
version = "0.6.5";
|
||||
format = "setuptools";
|
||||
version = "0.6.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-nyONWgbxiEPg1JHY5OKS3AP+1qVMsKXDS+N6P6qXMXQ=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "PennyDreadfulMTG";
|
||||
repo = "pystache";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-E6y7r68mfXVoNgsTBqyo561dVOjq1fL73SqSFM32oeQ=";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
buildInputs = [ glibcLocales ];
|
||||
dependencies = lib.optionals (pythonOlder "3.10") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "pystache" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Framework-agnostic, logic-free templating system inspired by ctemplate and et";
|
||||
homepage = "https://github.com/defunkt/pystache";
|
||||
license = licenses.mit;
|
||||
maintainers = [ ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.nickcao ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user