python3Packages.cheetah3: migrate to pyproject (#529047)
This commit is contained in:
@@ -2,29 +2,32 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "cheetah3";
|
||||
version = "3.4.0.post5";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CheetahTemplate3";
|
||||
repo = "cheetah3";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-qWV6ncSe4JbGZD7sLc/kEXY1pUM1II24UgsS/zX872Y=";
|
||||
};
|
||||
|
||||
doCheck = false; # Circular dependency
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "Cheetah" ];
|
||||
|
||||
meta = {
|
||||
description = "Template engine and code generation tool";
|
||||
homepage = "http://www.cheetahtemplate.org/";
|
||||
changelog = "https://github.com/CheetahTemplate3/cheetah3/releases/tag/${version}";
|
||||
homepage = "https://www.cheetahtemplate.org/";
|
||||
changelog = "https://github.com/CheetahTemplate3/cheetah3/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ pjjw ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user