python3Packages.ttp-templates: 0.5.1 -> 0.5.8 (#530475)
This commit is contained in:
@@ -3,22 +3,25 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pydantic,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "ttp-templates";
|
||||
version = "0.5.1";
|
||||
version = "0.5.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dmulyalin";
|
||||
repo = "ttp_templates";
|
||||
tag = version;
|
||||
hash = "sha256-lGlg8AgP7VtwZm5xfpEzs1VJSbfBdYns/l4ROP0LtEQ=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-W6F0/CGm713HhCtgqv+tEDm5mlkx0JJRmnUc9j+Fnvs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
dependencies = [ pydantic ];
|
||||
|
||||
postPatch = ''
|
||||
# Drop circular dependency on ttp
|
||||
sed -i '/ttp =/d' pyproject.toml
|
||||
@@ -30,8 +33,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Template Text Parser Templates collections";
|
||||
homepage = "https://github.com/dmulyalin/ttp_templates";
|
||||
changelog = "https://github.com/dmulyalin/ttp_templates/releases/tag/${version}";
|
||||
changelog = "https://github.com/dmulyalin/ttp_templates/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user